aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2011-10-17 10:07:49 -0400
committerMatthew Hoops2011-10-17 10:07:49 -0400
commit81ace6e105406873905d36e1df82e33493edfbc9 (patch)
treecd8618c9ad329e26c2c34d0ee5ccb611509368ac
parent1529ed0891b9721c349e84468dcb28d4f655dc1b (diff)
downloadscummvm-rg350-81ace6e105406873905d36e1df82e33493edfbc9.tar.gz
scummvm-rg350-81ace6e105406873905d36e1df82e33493edfbc9.tar.bz2
scummvm-rg350-81ace6e105406873905d36e1df82e33493edfbc9.zip
PEGASUS: Fix TSA door locks
-rwxr-xr-xengines/pegasus/neighborhood/tsa/fulltsa.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/pegasus/neighborhood/tsa/fulltsa.cpp b/engines/pegasus/neighborhood/tsa/fulltsa.cpp
index 1aac583ccc..fcfae06676 100755
--- a/engines/pegasus/neighborhood/tsa/fulltsa.cpp
+++ b/engines/pegasus/neighborhood/tsa/fulltsa.cpp
@@ -1267,12 +1267,15 @@ tCanOpenDoorReason FullTSA::canOpenDoor(DoorTable::Entry &entry) {
case MakeRoomView(kTSA02, kNorth):
if (!GameState.getTSAFrontDoorUnlockedOutside())
return kCantOpenLocked;
+ break;
case MakeRoomView(kTSA03, kSouth):
if (!GameState.getTSAFrontDoorUnlockedInside())
return kCantOpenLocked;
+ break;
case MakeRoomView(kTSA16, kNorth):
if (GameState.getTSACommandCenterLocked())
return kCantOpenLocked;
+ break;
}
return Neighborhood::canOpenDoor(entry);