diff options
author | Paul Gilbert | 2007-05-04 09:16:55 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-05-04 09:16:55 +0000 |
commit | 91fb83a72ffb9f28b21ebc4c7e4a1c8bffb97761 (patch) | |
tree | 5a4a6b9db7e48cfdbe547324d633c8e9959746d7 /engines/lure | |
parent | 3fccd9c06f3677042a8091ca89c9685411e44101 (diff) | |
download | scummvm-rg350-91fb83a72ffb9f28b21ebc4c7e4a1c8bffb97761.tar.gz scummvm-rg350-91fb83a72ffb9f28b21ebc4c7e4a1c8bffb97761.tar.bz2 scummvm-rg350-91fb83a72ffb9f28b21ebc4c7e4a1c8bffb97761.zip |
Bugfix to prevent characters stopped by a right-hand non-walkable area then being able to walk through it
svn-id: r26744
Diffstat (limited to 'engines/lure')
-rw-r--r-- | engines/lure/hotspots.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp index 40d59a5577..1bbcfe5dcb 100644 --- a/engines/lure/hotspots.cpp +++ b/engines/lure/hotspots.cpp @@ -566,7 +566,7 @@ void Hotspot::setOccupied(bool occupiedFlag) { int xp = x() >> 3; int yp = (y() - 8 + heightCopy() - 4) >> 3; - int widthVal = MAX((widthCopy() >> 3), 1); + int widthVal = MAX(((widthCopy() - 1) >> 3), 1); // Handle cropping for screen left if (xp < 0) { |