mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
Bugfix to prevent characters stopped by a right-hand non-walkable area then being able to walk through it
svn-id: r26744
This commit is contained in:
parent
3fccd9c06f
commit
91fb83a72f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user