diff options
-rw-r--r-- | scumm/actor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index efc20a45db..70fb311827 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1688,7 +1688,7 @@ void Actor::walkActorV12() { void Actor::walkActorOld() { Common::Point p2, p3; // Gate locations - int new_dir, next_box, loopCtr = 0; + int new_dir, next_box; if (!_moving) return; @@ -1726,8 +1726,6 @@ void Actor::walkActorOld() { _moving &= ~MF_NEW_LEG; do { - loopCtr++; - if (_walkbox == kInvalidBox) { setBox(_walkdata.destbox); _walkdata.curbox = _walkdata.destbox; |