PEGASUS: Fix disabling the retinal hotspot

This commit is contained in:
Keith Kaisershot 2013-10-06 19:34:25 -04:00 committed by Matthew Hoops
parent 3d8a4d23dd
commit 29fae78630

View File

@ -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);
}
}