Restrict recent walk code changes to to exact SCUMM versions required, to prevent regressions in earlier games

svn-id: r23476
This commit is contained in:
Travis Howell 2006-07-10 11:45:40 +00:00
parent 175c951e8e
commit 242edd0e39

View file

@ -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;
}