diff options
author | Max Horn | 2003-09-11 13:40:22 +0000 |
---|---|---|
committer | Max Horn | 2003-09-11 13:40:22 +0000 |
commit | e94a0683aacd2baac7faf76ec99630d04f53ada5 (patch) | |
tree | df9fbe01a713c250ba1b854b6326daf2ba5db199 /scumm | |
parent | becabcce131f5fd5474abbc27f4bb950b575f7a6 (diff) | |
download | scummvm-rg350-e94a0683aacd2baac7faf76ec99630d04f53ada5.tar.gz scummvm-rg350-e94a0683aacd2baac7faf76ec99630d04f53ada5.tar.bz2 scummvm-rg350-e94a0683aacd2baac7faf76ec99630d04f53ada5.zip |
fixed kBoxLocked handling, bug #771483 (ZAK: Pushing Sarcophagous feet on Mars)
svn-id: r10173
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/actor.cpp | 3 |
1 files changed, 1 insertions, 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; } |