aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-07-10 11:45:40 +0000
committerTravis Howell2006-07-10 11:45:40 +0000
commit242edd0e39aa967924a24bfcae4a4b27d5dc78bd (patch)
treeb5dc344328953aa4ccc75ab47fce8598eba6e517 /engines
parent175c951e8ea2977810c946045dc15252a6f2c49e (diff)
downloadscummvm-rg350-242edd0e39aa967924a24bfcae4a4b27d5dc78bd.tar.gz
scummvm-rg350-242edd0e39aa967924a24bfcae4a4b27d5dc78bd.tar.bz2
scummvm-rg350-242edd0e39aa967924a24bfcae4a4b27d5dc78bd.zip
Restrict recent walk code changes to to exact SCUMM versions required, to prevent regressions in earlier games
svn-id: r23476
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index b8252adda7..f17fc910ae 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -423,7 +423,7 @@ int Actor::actorWalkStep() {
_pos = _actorPos;
- if (_pos == _walkdata.next) {
+ if (_vm->_game.version >= 4 && _vm->_game.version <= 6 && _pos == _walkdata.next) {
_moving &= ~MF_IN_LEG;
return 0;
}