mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 11:51:52 +00:00
PEGASUS: Fix disabling the retinal hotspot
This commit is contained in:
parent
3d8a4d23dd
commit
29fae78630
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user