aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-01-22 03:22:01 +0000
committerTravis Howell2004-01-22 03:22:01 +0000
commit45739906a573b5e246f581512efed2d935b05336 (patch)
treea6eea01dd68ac51ff13da32092dd1411e3b15cc4 /scumm/actor.cpp
parent1f7a74099a5b534ccbe5d9853cdb7830b13448bb (diff)
downloadscummvm-rg350-45739906a573b5e246f581512efed2d935b05336.tar.gz
scummvm-rg350-45739906a573b5e246f581512efed2d935b05336.tar.bz2
scummvm-rg350-45739906a573b5e246f581512efed2d935b05336.zip
actor ignoreTurns is complete for scumm6
svn-id: r12571
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r--scumm/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 8b6f0b5d9f..9efd80aa75 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -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;
}