aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2013-03-02 20:19:45 +0100
committerTorbjörn Andersson2013-03-02 20:19:45 +0100
commitb3d52de50f6c6ea9dc47ed5128b4c2ef9fa5fda4 (patch)
tree700fda67db0df3c911913e2b4192c205a918b55d
parent052b67f48846eb30b8ee768b290cdb5a86135589 (diff)
downloadscummvm-rg350-b3d52de50f6c6ea9dc47ed5128b4c2ef9fa5fda4.tar.gz
scummvm-rg350-b3d52de50f6c6ea9dc47ed5128b4c2ef9fa5fda4.tar.bz2
scummvm-rg350-b3d52de50f6c6ea9dc47ed5128b4c2ef9fa5fda4.zip
JANITORIAL: Remove unnecessary semicolons
-rw-r--r--engines/hopkins/lines.cpp2
-rw-r--r--engines/hopkins/objects.cpp4
-rw-r--r--engines/pegasus/neighborhood/mars/mars.cpp2
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);