aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 0a064bdc69..5466be9c2b 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -1079,7 +1079,7 @@ void ScummEngine_v2::o2_walkActorTo() {
a = derefActor(getVarOrDirectByte(PARAM_1), "o2_walkActorTo");
x = getVarOrDirectByte(PARAM_2) * 8;
- y = getVarOrDirectByte(PARAM_1) * 2;
+ y = getVarOrDirectByte(PARAM_3) * 2;
a->startWalkActor(x, y, -1);
}
@@ -1092,7 +1092,7 @@ void ScummEngine_v2::o2_putActor() {
a = derefActor(act, "o2_putActor");
x = getVarOrDirectByte(PARAM_2) * 8;
- y = getVarOrDirectByte(PARAM_1) * 2;
+ y = getVarOrDirectByte(PARAM_3) * 2;
a->putActor(x, y, a->room);
}