SCUMM: Maniac V0: Implement the original Walk Code (to fix some anim glitches), fix opcode to use _moving correctly (as V0 is different)

This commit is contained in:
Robert Crossfield 2014-11-28 22:24:45 +11:00
parent 5beeadfd76
commit 2dbd99d572
5 changed files with 473 additions and 22 deletions

View file

@ -1179,7 +1179,7 @@ bool ScummEngine_v0::checkPendingWalkAction() {
Actor_v0 *a = (Actor_v0 *)derefActor(actor, "checkPendingWalkAction");
// wait until walking or turning action is finished
if (a->_moving)
if (a->_moving!=2)
return true;
// after walking and turning finally execute the script