diff options
author | Max Horn | 2002-07-16 14:09:54 +0000 |
---|---|---|
committer | Max Horn | 2002-07-16 14:09:54 +0000 |
commit | fb184d1942985e57c05bfd74826b03de463a94ac (patch) | |
tree | b36de18a64d68b940d1731738c033867b38c6ae3 | |
parent | e277d392b8b35d5bcfb7f59dde0abc00bb08d8d9 (diff) | |
download | scummvm-rg350-fb184d1942985e57c05bfd74826b03de463a94ac.tar.gz scummvm-rg350-fb184d1942985e57c05bfd74826b03de463a94ac.tar.bz2 scummvm-rg350-fb184d1942985e57c05bfd74826b03de463a94ac.zip |
fixed call to adjustXYToBeInBox
svn-id: r4567
-rw-r--r-- | object.cpp | 2 |
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; } |