diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hopkins/lines.cpp | 2 | ||||
-rw-r--r-- | engines/hopkins/objects.cpp | 4 | ||||
-rw-r--r-- | engines/pegasus/neighborhood/mars/mars.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/engines/hopkins/lines.cpp b/engines/hopkins/lines.cpp index 93f569bd2d..0422dc761e 100644 --- a/engines/hopkins/lines.cpp +++ b/engines/hopkins/lines.cpp @@ -982,7 +982,7 @@ int LinesManager::GENIAL(int lineIdx, int dataIdx, int fromX, int fromY, int des break; v38 = foundLineIdx; if (v37 <= 0 || v69 >= v37) - break;; + break; } if (v74 != -1 && v38 != -1 && v76 != -1 && v75 != -1) { route[routerIdx].invalidate(); diff --git a/engines/hopkins/objects.cpp b/engines/hopkins/objects.cpp index a0d8810642..25e834572b 100644 --- a/engines/hopkins/objects.cpp +++ b/engines/hopkins/objects.cpp @@ -278,7 +278,7 @@ void ObjectsManager::addObject(int objIndex) { for (;;) { ++arrIndex; if ((!_vm->_globals._inventory[arrIndex]) || (arrIndex == 32)) - break;; + break; } _vm->_globals._inventory[arrIndex] = objIndex; @@ -1875,7 +1875,7 @@ void ObjectsManager::handleLeftButton() { ++routeIdx; } while (_vm->_linesManager._route[routeIdx]._x != -1); - _vm->_linesManager.essai2[routeIdx].invalidate();; + _vm->_linesManager.essai2[routeIdx].invalidate(); } if (_vm->_globals._actionMoveTo) { diff --git a/engines/pegasus/neighborhood/mars/mars.cpp b/engines/pegasus/neighborhood/mars/mars.cpp index 34c9e3d0f8..959eaa0a70 100644 --- a/engines/pegasus/neighborhood/mars/mars.cpp +++ b/engines/pegasus/neighborhood/mars/mars.cpp @@ -2643,7 +2643,7 @@ void Mars::startUpFromSpaceChase() { // Open the spot sounds movie again... _spotSounds.initFromQuickTime(getSoundSpotsName()); - _spotSounds.setVolume(_vm->getSoundFXLevel());; + _spotSounds.setVolume(_vm->getSoundFXLevel()); initOnePicture(&_shuttleInterface1, "Images/Mars/MCmain1.pict", kShuttleBackgroundOrder, kShuttle1Left, kShuttle1Top, true); |