PEGASUS: Prevent recalling from Prehistoric without the historical log

Fixes an original game bug
This commit is contained in:
Matthew Hoops 2012-09-20 19:45:01 -04:00
parent 2e4ee0b2d0
commit b0079f4fa6

View File

@ -113,6 +113,12 @@ void PegasusChip::setUpPegasusChipRude() {
void PegasusChip::activatePegasusHotspots() {
switch (GameState.getCurrentNeighborhood()) {
case kPrehistoricID:
// WORKAROUND: Don't allow the player to recall if they don't have
// the historical log. Otherwise, gameplay is broken when returning
// to the TSA.
if (!((PegasusEngine *)g_engine)->playerHasItemID(kHistoricalLog))
return;
// fall through
case kMarsID:
case kWSCID:
case kNoradAlphaID: