diff options
author | Max Horn | 2003-07-07 22:11:03 +0000 |
---|---|---|
committer | Max Horn | 2003-07-07 22:11:03 +0000 |
commit | 74554d6e917bb361ee424b7a652c66997a72b594 (patch) | |
tree | 60fcae14af6be16bd4f6adbf3661324177cd46e7 /scumm | |
parent | 93f5eb049028271c77e2408a282b7f664d2625e7 (diff) | |
download | scummvm-rg350-74554d6e917bb361ee424b7a652c66997a72b594.tar.gz scummvm-rg350-74554d6e917bb361ee424b7a652c66997a72b594.tar.bz2 scummvm-rg350-74554d6e917bb361ee424b7a652c66997a72b594.zip |
fix for bug #766532: MI2: look at coffin to Mojo
svn-id: r8846
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/actor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index 1dfa6e9347..6dad929747 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -627,7 +627,7 @@ AdjustBoxResult Actor::adjustXYToBeInBox(int dstX, int dstY) { if (numBoxes < firstValidBox) return abr; - bestDist = 0xFFFFFF; + bestDist = (_vm->_version <= 2) ? 0xFFFFFF : 0xFFFF; bestBox = kInvalidBox; // We iterate (backwards) over all boxes, searching the one closest |