diff options
author | Eugene Sandulenko | 2014-03-17 23:38:25 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-03-18 09:29:29 +0200 |
commit | c7d1ca9f6588ce99901c9223a988e260d47c7c2e (patch) | |
tree | 48591598e1391859a4f8be8a7223515e95e5448f /engines/fullpipe | |
parent | 151f14fb92c1662d4036ab8490d1d5e635627cef (diff) | |
download | scummvm-rg350-c7d1ca9f6588ce99901c9223a988e260d47c7c2e.tar.gz scummvm-rg350-c7d1ca9f6588ce99901c9223a988e260d47c7c2e.tar.bz2 scummvm-rg350-c7d1ca9f6588ce99901c9223a988e260d47c7c2e.zip |
FULLPIPE: Code formatting
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/scenes/scene18and19.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/fullpipe/scenes/scene18and19.cpp b/engines/fullpipe/scenes/scene18and19.cpp index ef3a404d23..4f6677876b 100644 --- a/engines/fullpipe/scenes/scene18and19.cpp +++ b/engines/fullpipe/scenes/scene18and19.cpp @@ -729,6 +729,7 @@ int sceneHandler18(ExCommand *cmd) { { if (g_vars->scene18_enteredTrubaRight) { cmd->_messageKind = 0; + break; } @@ -743,6 +744,7 @@ int sceneHandler18(ExCommand *cmd) { if (!(g_fp->_aniMan->_flags & 0x100) && g_fp->_msgObjectId2 != g_vars->scene18_domino->_id) { handleObjectInteraction(g_fp->_aniMan, g_vars->scene18_domino, cmd->_keyCode); cmd->_messageKind = 0; + break; } } @@ -786,6 +788,7 @@ int sceneHandler18(ExCommand *cmd) { if (!g_vars->scene18_whirlgig->_movement) { g_vars->scene18_whirlgig->startAnim(MV_WHR18_SPIN, 0, -1); g_fp->_behaviorManager->updateBehaviors(); + break; } } else { @@ -793,6 +796,7 @@ int sceneHandler18(ExCommand *cmd) { } g_fp->_behaviorManager->updateBehaviors(); + break; } @@ -910,6 +914,7 @@ int sceneHandler19(ExCommand *cmd) { g_vars->scene18_whirlgig->startAnim(MV_WHR19_SPIN, 0, -1); g_fp->_behaviorManager->updateBehaviors(); + break; } } else { @@ -917,6 +922,7 @@ int sceneHandler19(ExCommand *cmd) { } g_fp->_behaviorManager->updateBehaviors(); + break; } |