aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorArnaud Boutonné2010-11-05 08:36:37 +0000
committerArnaud Boutonné2010-11-05 08:36:37 +0000
commit85513b20409ad57d306b06d181c271ead4185ace (patch)
tree176c9443f9df8822f8209d167844e26a3e638414 /engines
parent913afa041a1495fbf1d0eef432a3cd71434976ea (diff)
downloadscummvm-rg350-85513b20409ad57d306b06d181c271ead4185ace.tar.gz
scummvm-rg350-85513b20409ad57d306b06d181c271ead4185ace.tar.bz2
scummvm-rg350-85513b20409ad57d306b06d181c271ead4185ace.zip
HUGO: Suppress useless case in processRoute()
svn-id: r54087
Diffstat (limited to 'engines')
-rw-r--r--engines/hugo/route.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/hugo/route.cpp b/engines/hugo/route.cpp
index 962adab45d..b79252230c 100644
--- a/engines/hugo/route.cpp
+++ b/engines/hugo/route.cpp
@@ -443,9 +443,6 @@ void Route::processRoute() {
turnedFl = true;
}
break;
- case GO_SPACE:
- warning("Unhandled gameStatus.go_for GO_STATUS");
- break;
}
}
} else if (_vm->_hero->vx == 0 && _vm->_hero->vy == 0) {
@@ -493,7 +490,7 @@ bool Route::startRoute(go_t go_for, int16 id, int16 cx, int16 cy) {
bool foundFl = false; // TRUE if route found ok
if ((foundFl = findRoute(cx, cy))) { // Found a route?
gameStatus.routeIndex = _routeListIndex; // Node index
- _vm->_hero->vx = _vm->_hero->vy = 0; // Stop manual motion
+ _vm->_hero->vx = _vm->_hero->vy = 0; // Stop manual motion
}
return foundFl;