aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}