diff options
author | Max Horn | 2002-12-04 13:32:55 +0000 |
---|---|---|
committer | Max Horn | 2002-12-04 13:32:55 +0000 |
commit | cb2b5ab3b7d91d548dc2da40b508ad44a56b8287 (patch) | |
tree | 8d423bc7865a2e7691c119518ac29278746c5ddc /scumm/actor.cpp | |
parent | 9d9214bb7b8fc2c51743c67c723ffe17bf00180c (diff) | |
download | scummvm-rg350-cb2b5ab3b7d91d548dc2da40b508ad44a56b8287.tar.gz scummvm-rg350-cb2b5ab3b7d91d548dc2da40b508ad44a56b8287.tar.bz2 scummvm-rg350-cb2b5ab3b7d91d548dc2da40b508ad44a56b8287.zip |
fix for bug #643001, may cause regression
svn-id: r5829
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r-- | scumm/actor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index beb1178f67..a1b4eb6da2 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -622,7 +622,8 @@ AdjustBoxResult Actor::adjustXYToBeInBox(int dstX, int dstY, int pathfrom) best = (uint) 0xFFFF; b = 0; - if (!(_vm->_features & GF_OLD256) || box) +// FIXME - why was that check here? It apparently causes bug #643001 +// if (!(_vm->_features & GF_OLD256) || box) for (j = box; j >= firstValidBox; j--) { flags = _vm->getBoxFlags(j); |