aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-07-13 11:56:53 +0000
committerMax Horn2002-07-13 11:56:53 +0000
commit43b8300eb29c1fadd147ba5325e703f88ed3a8bd (patch)
treed998d69bd97d5190bf1b7406585b1d494955379e
parent447f2c433b4ea8e1dd74a3b56191f26bd81ce432 (diff)
downloadscummvm-rg350-43b8300eb29c1fadd147ba5325e703f88ed3a8bd.tar.gz
scummvm-rg350-43b8300eb29c1fadd147ba5325e703f88ed3a8bd.tar.bz2
scummvm-rg350-43b8300eb29c1fadd147ba5325e703f88ed3a8bd.zip
fixed FIXME; this seems to be the correct way for walkActorOld to work
svn-id: r4532
-rw-r--r--actor.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/actor.cpp b/actor.cpp
index ef28ba4c97..596e3e1450 100644
--- a/actor.cpp
+++ b/actor.cpp
@@ -1360,9 +1360,8 @@ void Actor::walkActorOld()
if (_vm->gateLoc[2].x != 32000) {
if (calcMovementFactor(_vm->gateLoc[2].x, _vm->gateLoc[2].y)) {
- // FIXME - why is the first actor used here?!? Somebody please add a comment
- _vm->getFirstActor()->walkdata.point3x = _vm->gateLoc[3].x;
- _vm->getFirstActor()->walkdata.point3y = _vm->gateLoc[3].y;
+ walkdata.point3x = _vm->gateLoc[3].x;
+ walkdata.point3y = _vm->gateLoc[3].y;
return;
}
}