From b65ca3db3d828e53b97b856c67529bdd823f1dba Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 5 Jan 2004 06:53:03 +0000 Subject: Add partial support for ignoreTurns, fixes some glitches in putt putt games. svn-id: r12150 --- scumm/actor.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scumm') 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); -- cgit v1.2.3