SCUMM: handle actor freeze in walkToActorOrObject()

This commit is contained in:
Tobias Gunkel 2012-01-22 23:10:46 +01:00
parent b0201a8df2
commit 1da715719c

View file

@ -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();
}
}