diff options
author | Travis Howell | 2005-05-29 14:55:12 +0000 |
---|---|---|
committer | Travis Howell | 2005-05-29 14:55:12 +0000 |
commit | d4456afa444cc4aed072f15589586e11085590bd (patch) | |
tree | c96061f43c8b6fd449ad69bf98ac311681a8ce6c /scumm | |
parent | 93731f3c4bc5791e94d9aab041b1deb1045c9a3c (diff) | |
download | scummvm-rg350-d4456afa444cc4aed072f15589586e11085590bd.tar.gz scummvm-rg350-d4456afa444cc4aed072f15589586e11085590bd.tar.bz2 scummvm-rg350-d4456afa444cc4aed072f15589586e11085590bd.zip |
Correct off by one, fixes minor glitches in lost/smaller.
svn-id: r18292
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/sprite_he.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp index b2d9744cac..ef04f427af 100644 --- a/scumm/sprite_he.cpp +++ b/scumm/sprite_he.cpp @@ -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); } |