mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 01:08:25 +00:00
PEGASUS: Prevent recalling from Prehistoric without the historical log
Fixes an original game bug
This commit is contained in:
parent
2e4ee0b2d0
commit
b0079f4fa6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user