diff options
author | Travis Howell | 2006-07-10 11:45:40 +0000 |
---|---|---|
committer | Travis Howell | 2006-07-10 11:45:40 +0000 |
commit | 242edd0e39aa967924a24bfcae4a4b27d5dc78bd (patch) | |
tree | b5dc344328953aa4ccc75ab47fce8598eba6e517 /engines | |
parent | 175c951e8ea2977810c946045dc15252a6f2c49e (diff) | |
download | scummvm-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.cpp | 2 |
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; } |