diff options
author | Keith Kaisershot | 2013-10-06 19:34:25 -0400 |
---|---|---|
committer | Matthew Hoops | 2013-10-06 19:36:18 -0400 |
commit | 29fae786302b64917d7fc839d9cb3a20807ddab3 (patch) | |
tree | f7914ff119472fe1bff215137b507c3c8d9b0fd9 /engines/pegasus | |
parent | 3d8a4d23dd9dd077c5bc140411b8c8fb13213984 (diff) | |
download | scummvm-rg350-29fae786302b64917d7fc839d9cb3a20807ddab3.tar.gz scummvm-rg350-29fae786302b64917d7fc839d9cb3a20807ddab3.tar.bz2 scummvm-rg350-29fae786302b64917d7fc839d9cb3a20807ddab3.zip |
PEGASUS: Fix disabling the retinal hotspot
Diffstat (limited to 'engines/pegasus')
-rw-r--r-- | engines/pegasus/neighborhood/norad/delta/noraddelta.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/pegasus/neighborhood/norad/delta/noraddelta.cpp b/engines/pegasus/neighborhood/norad/delta/noraddelta.cpp index f2ea53ff89..1eea2f0156 100644 --- a/engines/pegasus/neighborhood/norad/delta/noraddelta.cpp +++ b/engines/pegasus/neighborhood/norad/delta/noraddelta.cpp @@ -565,6 +565,11 @@ void NoradDelta::activateHotspots() { } else if (GameState.getCurrentRoomAndView() == MakeRoomView(kNorad59, kWest)) { if (GameState.isCurrentDoorOpen()) _vm->getAllHotspots().deactivateOneHotspot(kNorad59WestSpotID); + } else if (GameState.getCurrentRoomAndView() == MakeRoomView(kNorad68, kWest)) { + // WORKAROUND: Make sure the retinal hotspot is disabled after the door opens. + // Fixes a bug in the original. + if (GameState.isCurrentDoorOpen()) + _vm->getAllHotspots().deactivateOneHotspot(kNorad68WestSpotID); } } |