aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorGregory Montoir2005-06-17 17:11:30 +0000
committerGregory Montoir2005-06-17 17:11:30 +0000
commitdb875d92e4721290a03df268228ee49fa607dc59 (patch)
treea37022fd5e1f2710a5eb7cc68cbc70fe3725a5f7 /scumm
parentffeb4c99b2607fe5835e1b845be63cd23f57167e (diff)
downloadscummvm-rg350-db875d92e4721290a03df268228ee49fa607dc59.tar.gz
scummvm-rg350-db875d92e4721290a03df268228ee49fa607dc59.tar.bz2
scummvm-rg350-db875d92e4721290a03df268228ee49fa607dc59.zip
update derefActor() argument
svn-id: r18406
Diffstat (limited to 'scumm')
-rw-r--r--scumm/object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index e032ae5fb9..5d2b34e515 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -1438,7 +1438,7 @@ int ScummEngine::getDistanceBetween(bool is_obj_1, int b, int c, bool is_obj_2,
if (getObjectOrActorXY(b, x, y) == -1)
return -1;
if (b < _numActors)
- i = derefActor(b, "unkObjProc1")->_scalex;
+ i = derefActor(b, "getDistanceBetween_is_obj_1")->_scalex;
} else {
x = b;
y = c;
@@ -1448,7 +1448,7 @@ int ScummEngine::getDistanceBetween(bool is_obj_1, int b, int c, bool is_obj_2,
if (getObjectOrActorXY(e, x2, y2) == -1)
return -1;
if (e < _numActors)
- j = derefActor(e, "unkObjProc1(2)")->_scalex;
+ j = derefActor(e, "getDistanceBetween_is_obj_2")->_scalex;
} else {
x2 = e;
y2 = f;