actor ignoreTurns is complete for scumm6

svn-id: r12571
This commit is contained in:
Travis Howell 2004-01-22 03:22:01 +00:00
parent 1f7a74099a
commit 45739906a5
2 changed files with 1 additions and 2 deletions

View File

@ -1292,7 +1292,7 @@ void Actor::startWalkActor(int destX, int destY, int dir) {
if (!isInCurrentRoom()) {
_pos.x = abr.x;
_pos.y = abr.y;
if (dir != -1)
if (!(_vm->_version == 6 && ignoreTurns) && dir != -1)
setDirection(dir);
return;
}

View File

@ -1897,7 +1897,6 @@ void ScummEngine_v6::o6_actorOps() {
a->setAnimVar(pop(), i);
break;
case 215: // SO_ACTOR_IGNORE_TURNS_ON
warning("ignoreTurns partially implemented");
a->ignoreTurns = true;
break;
case 216: // SO_ACTOR_IGNORE_TURNS_OFF