aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-01-05 06:53:03 +0000
committerTravis Howell2004-01-05 06:53:03 +0000
commitb65ca3db3d828e53b97b856c67529bdd823f1dba (patch)
tree6c9dae504a3cc97b909ebfe806cae3ee36b4bb67 /scumm
parent5a3aa023b66c444e7aabe0da92a934a78a655e5d (diff)
downloadscummvm-rg350-b65ca3db3d828e53b97b856c67529bdd823f1dba.tar.gz
scummvm-rg350-b65ca3db3d828e53b97b856c67529bdd823f1dba.tar.bz2
scummvm-rg350-b65ca3db3d828e53b97b856c67529bdd823f1dba.zip
Add partial support for ignoreTurns, fixes some glitches in putt putt games.
svn-id: r12150
Diffstat (limited to 'scumm')
-rw-r--r--scumm/actor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 87f88807e9..275282aa86 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -302,6 +302,9 @@ int Actor::updateActorDirection(bool is_walking) {
int dir;
bool shouldInterpolate;
+ if (ignoreTurns)
+ return facing;
+
dirType = (_vm->_features & GF_NEW_COSTUMES) ? _vm->akos_hasManyDirections(this) : false;
from = toSimpleDir(dirType, facing);