mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
Correct off by one, fixes minor glitches in lost/smaller.
svn-id: r18292
This commit is contained in:
parent
93731f3c4b
commit
d4456afa44
@ -937,8 +937,8 @@ void Sprite::setGroupbbox(int spriteGroupId, int x1, int y1, int x2, int y2) {
|
||||
_spriteGroups[spriteGroupId].flags |= kSGFClipBox;
|
||||
_spriteGroups[spriteGroupId].bbox.left = x1;
|
||||
_spriteGroups[spriteGroupId].bbox.top = y1;
|
||||
_spriteGroups[spriteGroupId].bbox.right = x2;
|
||||
_spriteGroups[spriteGroupId].bbox.bottom = y2;
|
||||
_spriteGroups[spriteGroupId].bbox.right = x2 + 1;
|
||||
_spriteGroups[spriteGroupId].bbox.bottom = y2 + 1;
|
||||
|
||||
redrawSpriteGroup(spriteGroupId);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user