diff options
author | Matthew Hoops | 2011-10-17 10:07:49 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-10-17 10:07:49 -0400 |
commit | 81ace6e105406873905d36e1df82e33493edfbc9 (patch) | |
tree | cd8618c9ad329e26c2c34d0ee5ccb611509368ac | |
parent | 1529ed0891b9721c349e84468dcb28d4f655dc1b (diff) | |
download | scummvm-rg350-81ace6e105406873905d36e1df82e33493edfbc9.tar.gz scummvm-rg350-81ace6e105406873905d36e1df82e33493edfbc9.tar.bz2 scummvm-rg350-81ace6e105406873905d36e1df82e33493edfbc9.zip |
PEGASUS: Fix TSA door locks
-rwxr-xr-x | engines/pegasus/neighborhood/tsa/fulltsa.cpp | 3 |
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); |