mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 11:36:22 +00:00
A few corrections from disasm., checked against all versions
svn-id: r20594
This commit is contained in:
parent
37bc512d64
commit
86ee0df205
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user