diff options
author | D G Turner | 2019-12-06 03:34:11 +0000 |
---|---|---|
committer | D G Turner | 2019-12-06 03:34:11 +0000 |
commit | e75722665d1f3687a71927670e4e2a4491597a53 (patch) | |
tree | 7a6bab1f1a889eed49496aeb698635cf141aaea7 /engines/mads/phantom/phantom_scenes1.cpp | |
parent | 3ca5080d3e5c340a6db0def09745201b7f153197 (diff) | |
download | scummvm-rg350-e75722665d1f3687a71927670e4e2a4491597a53.tar.gz scummvm-rg350-e75722665d1f3687a71927670e4e2a4491597a53.tar.bz2 scummvm-rg350-e75722665d1f3687a71927670e4e2a4491597a53.zip |
MADS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/mads/phantom/phantom_scenes1.cpp')
-rw-r--r-- | engines/mads/phantom/phantom_scenes1.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/engines/mads/phantom/phantom_scenes1.cpp b/engines/mads/phantom/phantom_scenes1.cpp index 2ce08ef7aa..0397f17a7c 100644 --- a/engines/mads/phantom/phantom_scenes1.cpp +++ b/engines/mads/phantom/phantom_scenes1.cpp @@ -486,6 +486,9 @@ void Scene101::handleAnimation0() { case 66: resetFrame = 24; break; + + default: + break; } if (resetFrame >= 0) { @@ -562,6 +565,10 @@ void Scene101::handleAnimation1() { case 3: resetFrame = 17; + break; + + default: + break; } } else { _chandelierStatus = 4; @@ -591,6 +598,9 @@ void Scene101::handleAnimation1() { case 315: _scene->freeAnimation(1); break; + + default: + break; } if (resetFrame >= 0) { @@ -2235,6 +2245,9 @@ void Scene103::handleJacquesAnim() { break; } break; + + default: + break; } if (resetFrame >= 0) { @@ -3857,6 +3870,9 @@ void Scene105::actions() { _game._player._stepEnabled = true; break; + + default: + break; } _action._inProgress = false; return; @@ -8473,7 +8489,9 @@ void Scene113::handleFlorentAnimation() { case 42: if (_florentStatus == 3) resetFrame = 41; + break; + default: break; } @@ -8843,6 +8861,8 @@ void Scene113::handleJulieAnimation() { break; } break; + default: + break; } if (resetFrame >= 0) { @@ -9044,6 +9064,9 @@ void Scene113::handleLoveConversation() { _scene->setDynamicAnim(_christineHotspotId1, _globals._animationIndexes[0], 16); } break; + + default: + break; } switch (_game._trigger) { |