Skip to content

Commit

Permalink
SCUMM: handle actor freeze in walkToActorOrObject()
Browse files Browse the repository at this point in the history
  • Loading branch information
tobigun committed Feb 11, 2012
1 parent b0201a8 commit 1da7157
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions engines/scumm/script.cpp
Expand Up @@ -1149,9 +1149,9 @@ void ScummEngine_v0::walkToActorOrObject(int object) {
VAR(6) = x;
VAR(7) = y;

if (!(a->_miscflags & kActorMiscFlagFreeze)) {
// FIXME: walking already started -> should be stopped if condition not true
//actorStartWalk();
// actor must not move if frozen
if (a->_miscflags & kActorMiscFlagFreeze)
a->stopActorMoving();
}
}

Expand Down

0 comments on commit 1da7157

Please sign in to comment.