aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-07-01 12:08:22 +0000
committerMax Horn2003-07-01 12:08:22 +0000
commite1483a6eac96c0ae93e7302eb9baa42b6f94a2ef (patch)
tree2104afb8f35bf4042766346abb4b8a764fa344ea /scumm
parentb13c0bb201bb1afdb50eb8735e4c9ec1fed5ba89 (diff)
downloadscummvm-rg350-e1483a6eac96c0ae93e7302eb9baa42b6f94a2ef.tar.gz
scummvm-rg350-e1483a6eac96c0ae93e7302eb9baa42b6f94a2ef.tar.bz2
scummvm-rg350-e1483a6eac96c0ae93e7302eb9baa42b6f94a2ef.zip
Fix for bug #763709: DIG: Recent walk regression
svn-id: r8685
Diffstat (limited to 'scumm')
-rw-r--r--scumm/actor.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 51a27f30c1..3002df55f5 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -730,7 +730,10 @@ void Actor::turnToDirection(int newdir) {
moving &= ~MF_TURN;
if (newdir != facing) {
- moving = MF_TURN;
+ if (_vm->_version <= 3)
+ moving = MF_TURN;
+ else
+ moving |= MF_TURN;
newDirection = newdir;
}
}