A few corrections from disasm., checked against all versions

svn-id: r20594
This commit is contained in:
Travis Howell 2006-02-12 06:43:42 +00:00
parent 37bc512d64
commit 86ee0df205

View File

@ -1583,10 +1583,14 @@ void Actor::startWalkActor(int destX, int destY, int dir) {
}
if (!isInCurrentRoom()) {
_pos.x = abr.x;
_pos.y = abr.y;
if (!(_vm->_version == 6 && _ignoreTurns) && dir != -1)
setDirection(dir);
if (_vm->_version <= 6) {
_pos.x = abr.x;
_pos.y = abr.y;
if (_ignoreTurns == false && dir != -1)
_facing = dir;
} else {
debug(0, "startWalkActor: attempting to walk actor %d who is not in this room", _number);
}
return;
}