aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-07-07 12:47:44 +0000
committerTravis Howell2006-07-07 12:47:44 +0000
commit6a53fa4cc3b5ac4895633e37d04b8ecae8b2daaf (patch)
tree13a9c085dabcbb84f9511b6f2a2d07efb806173a /engines
parent4e1d751ba267a0cfae2d807e529ae42b0bb0f302 (diff)
downloadscummvm-rg350-6a53fa4cc3b5ac4895633e37d04b8ecae8b2daaf.tar.gz
scummvm-rg350-6a53fa4cc3b5ac4895633e37d04b8ecae8b2daaf.tar.bz2
scummvm-rg350-6a53fa4cc3b5ac4895633e37d04b8ecae8b2daaf.zip
Revert recent change to actorWalkStep(), caused regressions
svn-id: r23393
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/actor.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index c61c147ed4..70dc9a2316 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -384,12 +384,7 @@ int Actor::actorWalkStep() {
nextFacing = updateActorDirection(true);
if (!(_moving & MF_IN_LEG) || _facing != nextFacing) {
if (_walkFrame != _frame || _facing != nextFacing) {
- if (_vm->_game.version <= 6) {
- startAnimActor(_walkFrame);
- setDirection(nextFacing);
- } else {
- startWalkAnim(1, nextFacing);
- }
+ startWalkAnim(1, nextFacing);
}
_moving |= MF_IN_LEG;
}