aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap/scenes/scene43.cpp
diff options
context:
space:
mode:
authorStrangerke2016-04-01 07:52:25 +0200
committerEugene Sandulenko2016-05-10 09:54:21 +0200
commit2d63d769ebcb720507602b165eb042ff69e28c24 (patch)
treec2398dbae593b80ea5959ae9b3036b75e8fdb5c0 /engines/gnap/scenes/scene43.cpp
parentc0369a421b361a5e4ccfab3e7857d1c7ecd27cf7 (diff)
downloadscummvm-rg350-2d63d769ebcb720507602b165eb042ff69e28c24.tar.gz
scummvm-rg350-2d63d769ebcb720507602b165eb042ff69e28c24.tar.bz2
scummvm-rg350-2d63d769ebcb720507602b165eb042ff69e28c24.zip
GNAP: Refactoring - Use enum for beaver facing
Diffstat (limited to 'engines/gnap/scenes/scene43.cpp')
-rw-r--r--engines/gnap/scenes/scene43.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/gnap/scenes/scene43.cpp b/engines/gnap/scenes/scene43.cpp
index 2484a62227..b4fe5bb751 100644
--- a/engines/gnap/scenes/scene43.cpp
+++ b/engines/gnap/scenes/scene43.cpp
@@ -114,27 +114,27 @@ void GnapEngine::scene43_run() {
switch (_prevSceneNum) {
case 42:
initGnapPos(-1, 8, kDirUpRight);
- initBeaverPos(-1, 9, 5);
+ initBeaverPos(-1, 9, kDirUpLeft);
endSceneInit();
gnapWalkTo(2, 8, -1, 0x107B9, 1);
platypusWalkTo(1, 8, -1, 0x107C2, 1);
break;
case 44:
initGnapPos(11, 8, kDirUpRight);
- initBeaverPos(11, 9, 5);
+ initBeaverPos(11, 9, kDirUpLeft);
endSceneInit();
gnapWalkTo(8, 8, -1, 0x107BA, 1);
platypusWalkTo(9, 8, -1, 0x107D2, 1);
break;
case 54:
initGnapPos(4, 7, kDirBottomLeft);
- initBeaverPos(11, 8, 5);
+ initBeaverPos(11, 8, kDirUpLeft);
endSceneInit();
platypusWalkTo(9, 8, -1, 0x107D2, 1);
break;
default:
initGnapPos(5, 11, kDirUpRight);
- initBeaverPos(6, 11, 5);
+ initBeaverPos(6, 11, kDirUpLeft);
endSceneInit();
gnapWalkTo(5, 8, -1, 0x107BA, 1);
platypusWalkTo(6, 8, -1, 0x107C2, 1);