diff options
author | Arnaud Boutonné | 2011-02-08 20:52:26 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2011-02-08 20:52:26 +0000 |
commit | 4917740b44da8d7bac8b689febe98b183f1a8278 (patch) | |
tree | 8bd26966e27b994ea933640f164a9771c44708ea /engines/hugo/object_v2d.cpp | |
parent | 72a9706950675cc3fd04e39d0f842193d66a5f9e (diff) | |
download | scummvm-rg350-4917740b44da8d7bac8b689febe98b183f1a8278.tar.gz scummvm-rg350-4917740b44da8d7bac8b689febe98b183f1a8278.tar.bz2 scummvm-rg350-4917740b44da8d7bac8b689febe98b183f1a8278.zip |
HUGO: Cleanup : some refactoring and encapsulation (thanks fuzzie for the help)
svn-id: r55831
Diffstat (limited to 'engines/hugo/object_v2d.cpp')
-rw-r--r-- | engines/hugo/object_v2d.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/hugo/object_v2d.cpp b/engines/hugo/object_v2d.cpp index 29a5956f3f..17adae846a 100644 --- a/engines/hugo/object_v2d.cpp +++ b/engines/hugo/object_v2d.cpp @@ -178,9 +178,8 @@ void ObjectHandler_v2d::moveObjects() { debugC(4, kDebugObject, "moveObjects"); // Added to DOS version in order to handle mouse properly - // If route mode enabled, do special route processing - if (_vm->getGameStatus().routeIndex >= 0) - _vm->_route->processRoute(); + // Do special route processing + _vm->_route->processRoute(); // Perform any adjustments to velocity based on special path types // and store all (visible) object baselines into the boundary file. |