aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-12-04 13:32:55 +0000
committerMax Horn2002-12-04 13:32:55 +0000
commitcb2b5ab3b7d91d548dc2da40b508ad44a56b8287 (patch)
tree8d423bc7865a2e7691c119518ac29278746c5ddc
parent9d9214bb7b8fc2c51743c67c723ffe17bf00180c (diff)
downloadscummvm-rg350-cb2b5ab3b7d91d548dc2da40b508ad44a56b8287.tar.gz
scummvm-rg350-cb2b5ab3b7d91d548dc2da40b508ad44a56b8287.tar.bz2
scummvm-rg350-cb2b5ab3b7d91d548dc2da40b508ad44a56b8287.zip
fix for bug #643001, may cause regression
svn-id: r5829
-rw-r--r--scumm/actor.cpp3
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);