aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/neighborhood/caldoria
diff options
context:
space:
mode:
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);