From e94a0683aacd2baac7faf76ec99630d04f53ada5 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 11 Sep 2003 13:40:22 +0000 Subject: fixed kBoxLocked handling, bug #771483 (ZAK: Pushing Sarcophagous feet on Mars) svn-id: r10173 --- scumm/actor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scumm/actor.cpp b/scumm/actor.cpp index 51894b187b..5e6d6213a1 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1458,8 +1458,7 @@ void Actor::walkActorOld() { // Can't walk through locked boxes int flags = _vm->getBoxFlags(next_box); if (flags & kBoxLocked && !(flags & kBoxPlayerOnly && !isPlayer())) { - moving |= MF_LAST_LEG; - return; + break; } -- cgit v1.2.3