aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hugo/route.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/engines/hugo/route.cpp b/engines/hugo/route.cpp
index 9b3d929543..e960a3b505 100644
--- a/engines/hugo/route.cpp
+++ b/engines/hugo/route.cpp
@@ -69,12 +69,12 @@ void Route::setDirection(uint16 keyCode) {
case Common::KEYCODE_END:
obj->currImagePtr = obj->seqList[LEFT].seqPtr;
break;
-// case Common::KEYCODE_PRIOR:
-// obj->currImagePtr = obj->seqList[RIGHT].seqPtr;
-// break;
-// case Common::KEYCODE_NEXT:
-// obj->currImagePtr = obj->seqList[RIGHT].seqPtr;
-// break;
+ case Common::KEYCODE_PAGEUP:
+ obj->currImagePtr = obj->seqList[RIGHT].seqPtr;
+ break;
+ case Common::KEYCODE_PAGEDOWN:
+ obj->currImagePtr = obj->seqList[RIGHT].seqPtr;
+ break;
}
}
@@ -117,14 +117,14 @@ void Route::setWalk(uint16 direction) {
obj->vx = -DX;
obj->vy = DY / 2;
break;
-// case Common::KEYCODE_PRIOR:
-// obj->vx = DX;
-// obj->vy = -DY / 2;
-// break;
-// case Common::KEYCODE_NEXT:
-// obj->vx = DX;
-// obj->vy = DY / 2;
-// break;
+ case Common::KEYCODE_PAGEUP:
+ obj->vx = DX;
+ obj->vy = -DY / 2;
+ break;
+ case Common::KEYCODE_PAGEDOWN:
+ obj->vx = DX;
+ obj->vy = DY / 2;
+ break;
}
oldDirection = direction;
obj->cycling = CYCLE_FORWARD;