aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/neighborhood/caldoria
diff options
context:
space:
mode:
authorMatthew Hoops2012-04-02 20:00:45 -0400
committerMatthew Hoops2012-04-02 20:00:45 -0400
commit990f7c4ca43fa4157ee6afe46a60c790770c9ed4 (patch)
tree82ed435b502075065846b46285cc4be1406a5158 /engines/pegasus/neighborhood/caldoria
parent73f2244a562fe0498720546e57452377752741fb (diff)
downloadscummvm-rg350-990f7c4ca43fa4157ee6afe46a60c790770c9ed4.tar.gz
scummvm-rg350-990f7c4ca43fa4157ee6afe46a60c790770c9ed4.tar.bz2
scummvm-rg350-990f7c4ca43fa4157ee6afe46a60c790770c9ed4.zip
PEGASUS: Add some braces
Silences digitall's compiler :P
Diffstat (limited to 'engines/pegasus/neighborhood/caldoria')
-rwxr-xr-xengines/pegasus/neighborhood/caldoria/caldoria.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/pegasus/neighborhood/caldoria/caldoria.cpp b/engines/pegasus/neighborhood/caldoria/caldoria.cpp
index 484242371a..b7c45dc0c6 100755
--- a/engines/pegasus/neighborhood/caldoria/caldoria.cpp
+++ b/engines/pegasus/neighborhood/caldoria/caldoria.cpp
@@ -1284,7 +1284,7 @@ void Caldoria::activateHotspots() {
switch (GameState.getCurrentRoom()) {
case kCaldoriaDrawers:
- if (getCurrentActivation() == kActivateRightOpen)
+ if (getCurrentActivation() == kActivateRightOpen) {
if (GameState.isTakenItemID(kKeyCard)) {
g_allHotspots.activateOneHotspot(kCaldoriaRightDrawerNoKeysCloseSpotID);
g_allHotspots.deactivateOneHotspot(kCaldoriaRightDrawerWithKeysCloseSpotID);
@@ -1292,6 +1292,7 @@ void Caldoria::activateHotspots() {
g_allHotspots.activateOneHotspot(kCaldoriaRightDrawerWithKeysCloseSpotID);
g_allHotspots.deactivateOneHotspot(kCaldoriaRightDrawerNoKeysCloseSpotID);
}
+ }
case kCaldoriaReplicator:
if (GameState.getCaldoriaMadeOJ())
g_allHotspots.deactivateOneHotspot(kCaldoriaMakeOJSpotID);