aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-07-16 14:09:54 +0000
committerMax Horn2002-07-16 14:09:54 +0000
commitfb184d1942985e57c05bfd74826b03de463a94ac (patch)
treeb36de18a64d68b940d1731738c033867b38c6ae3
parente277d392b8b35d5bcfb7f59dde0abc00bb08d8d9 (diff)
downloadscummvm-rg350-fb184d1942985e57c05bfd74826b03de463a94ac.tar.gz
scummvm-rg350-fb184d1942985e57c05bfd74826b03de463a94ac.tar.bz2
scummvm-rg350-fb184d1942985e57c05bfd74826b03de463a94ac.zip
fixed call to adjustXYToBeInBox
svn-id: r4567
-rw-r--r--object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.cpp b/object.cpp
index 0943c134db..628d14b3d9 100644
--- a/object.cpp
+++ b/object.cpp
@@ -228,7 +228,7 @@ int Scumm::getObjActToObjActDist(int a, int b)
return 0xFF;
if (acta) {
- AdjustBoxResult r = acta->adjustXYToBeInBox(_xPos, _yPos, 0);
+ AdjustBoxResult r = acta->adjustXYToBeInBox(_xPos, _yPos, -1);
_xPos = r.x;
_yPos = r.y;
}