diff options
Diffstat (limited to 'engines/avalanche/timer.cpp')
-rw-r--r-- | engines/avalanche/timer.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/engines/avalanche/timer.cpp b/engines/avalanche/timer.cpp index a9753b3cce..be83282fc6 100644 --- a/engines/avalanche/timer.cpp +++ b/engines/avalanche/timer.cpp @@ -198,6 +198,8 @@ void Timer::updateTimer() { case kProcGiveLuteToGeida: giveLuteToGeida(); break; + default: + break; } } } @@ -363,20 +365,22 @@ void Timer::jacquesWakesUp() { _vm->_jacquesState++; switch (_vm->_jacquesState) { // Additional pictures. - case 1 : + case 1: _vm->_background->draw(-1, -1, 0); // Eyes open. _vm->_dialogs->displayScrollChain('Q', 45); break; - case 2 : // Going through the door. + case 2: // Going through the door. _vm->_background->draw(-1, -1, 1); // Not on the floor. _vm->_background->draw(-1, -1, 2); // But going through the door. _vm->_magics[5]._operation = kMagicNothing; // You can't wake him up now. break; - case 3 : // Gone through the door. + case 3: // Gone through the door. _vm->_background->draw(-1, -1, 1); // Not on the floor, either. _vm->_background->draw(-1, -1, 3); // He's gone... so the door's open. _vm->setRoom(kPeopleJacques, kRoomNowhere); // Gone! break; + default: + break; } if (_vm->_jacquesState == 5) { @@ -394,6 +398,8 @@ void Timer::jacquesWakesUp() { case 4: addTimer(24, kProcJacquesWakesUp, kReasonJacquesWakingUp); break; + default: + break; } } @@ -445,6 +451,8 @@ void Timer::jump() { case 19: avvy->_y++; break; + default: + break; } if (_vm->_jumpStatus == 20) { // End of jump. |