diff options
Diffstat (limited to 'engines/hopkins')
-rw-r--r-- | engines/hopkins/lines.cpp | 2 | ||||
-rw-r--r-- | engines/hopkins/objects.cpp | 4 |
2 files changed, 3 insertions, 3 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) { |