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/nebular/nebular_scenes4.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/nebular/nebular_scenes4.cpp')
-rw-r--r-- | engines/mads/nebular/nebular_scenes4.cpp | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/engines/mads/nebular/nebular_scenes4.cpp b/engines/mads/nebular/nebular_scenes4.cpp index 8b7eb1a9ec..7fdb3302cb 100644 --- a/engines/mads/nebular/nebular_scenes4.cpp +++ b/engines/mads/nebular/nebular_scenes4.cpp @@ -1059,6 +1059,9 @@ void Scene402::step() { } break; + + default: + break; } switch (_game._trigger) { @@ -1158,6 +1161,9 @@ void Scene402::step() { } break; + + default: + break; } switch (_game._trigger) { @@ -1226,6 +1232,9 @@ void Scene402::step() { _bartenderReady = true; } break; + + default: + break; } if (!_waitingGinnyMove && !_ginnyLooking) { @@ -1276,6 +1285,9 @@ void Scene402::step() { _scene->_sequences.setDepth(_globals._sequenceIndexes[5], 1); _waitingGinnyMove = false; break; + + default: + break; } if ((_game._trigger == 54) && _ginnyLooking) { @@ -1431,6 +1443,9 @@ void Scene402::step() { case 31: _blowingSmoke = false; break; + + default: + break; } if (!_leftWomanMoving) { @@ -2127,7 +2142,7 @@ void Scene402::actions() { default: break; - } + } } break; @@ -2166,6 +2181,9 @@ void Scene402::actions() { break; } break; + + default: + break; } } else if (_action.isAction(VERB_TALKTO, NOUN_WOMAN_IN_CHAIR) && !_firstTalkToGirlInChair) { _scene->_kernelMessages.add(Common::Point(0, 0), 0x1110, 34, 0, 120, _game.getQuote(0x1D7)); @@ -3827,6 +3845,9 @@ void Scene411::actions() { _game._objects[OBJ_CHARGE_CASES].setQuality(3, 1); _vm->_dialogs->showItem(OBJ_CHARGE_CASES, 41142); break; + + default: + break; } _action._inProgress = false; return; |