aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/route.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/route.cpp')
-rw-r--r--engines/hugo/route.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/hugo/route.cpp b/engines/hugo/route.cpp
index 17c23ea785..ed1a7fd788 100644
--- a/engines/hugo/route.cpp
+++ b/engines/hugo/route.cpp
@@ -108,6 +108,8 @@ void Route::setDirection(const uint16 keyCode) {
case Common::KEYCODE_KP3:
obj->_currImagePtr = obj->_seqList[SEQ_RIGHT]._seqPtr;
break;
+ default:
+ break;
}
}
@@ -171,6 +173,8 @@ void Route::setWalk(const uint16 direction) {
// Note: in v1 Dos and v2 Dos, obj->vy is set to DY
obj->_vy = kStepDy / 2;
break;
+ default:
+ break;
}
_oldWalkDirection = direction;
obj->_cycling = kCycleForward;