From 990f7c4ca43fa4157ee6afe46a60c790770c9ed4 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Mon, 2 Apr 2012 20:00:45 -0400 Subject: PEGASUS: Add some braces Silences digitall's compiler :P --- engines/pegasus/neighborhood/caldoria/caldoria.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/pegasus/neighborhood/caldoria') 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); -- cgit v1.2.3