aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2005-11-06 11:29:08 +0000
committerTravis Howell2005-11-06 11:29:08 +0000
commit0c4c4ffecd896559a0e4cca0340763c0ac6a1e61 (patch)
treefc645f6e69a07fee2907e23ca0a908cb53e253b5 /scumm
parente8e1d462e083a343d1612357d82eac1388063790 (diff)
downloadscummvm-rg350-0c4c4ffecd896559a0e4cca0340763c0ac6a1e61.tar.gz
scummvm-rg350-0c4c4ffecd896559a0e4cca0340763c0ac6a1e61.tar.bz2
scummvm-rg350-0c4c4ffecd896559a0e4cca0340763c0ac6a1e61.zip
Revert +1 change, causes more glitches in lost.
svn-id: r19483
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v7he.cpp4
-rw-r--r--scumm/script_v90he.cpp4
-rw-r--r--scumm/sprite_he.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp
index 1f5cc78768..0270a055bb 100644
--- a/scumm/script_v7he.cpp
+++ b/scumm/script_v7he.cpp
@@ -825,8 +825,8 @@ void ScummEngine_v70he::o70_kernelSetFunctions() {
_wiz->_rectOverrideEnabled = true;
_wiz->_rectOverride.left = args[1];
_wiz->_rectOverride.top = args[2];
- _wiz->_rectOverride.right = args[3] + 1;
- _wiz->_rectOverride.bottom = args[4] + 1;
+ _wiz->_rectOverride.right = args[3];
+ _wiz->_rectOverride.bottom = args[4];
break;
case 43:
_wiz->_rectOverrideEnabled = false;
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp
index d9c9d46532..63775e2d21 100644
--- a/scumm/script_v90he.cpp
+++ b/scumm/script_v90he.cpp
@@ -2614,8 +2614,8 @@ void ScummEngine_v90he::o90_kernelSetFunctions() {
_wiz->_rectOverrideEnabled = true;
_wiz->_rectOverride.left = args[1];
_wiz->_rectOverride.top = args[2];
- _wiz->_rectOverride.right = args[3] + 1;
- _wiz->_rectOverride.bottom = args[4] + 1;
+ _wiz->_rectOverride.right = args[3];
+ _wiz->_rectOverride.bottom = args[4];
break;
case 43:
_wiz->_rectOverrideEnabled = false;
diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp
index de0b10f1e6..f14083185e 100644
--- a/scumm/sprite_he.cpp
+++ b/scumm/sprite_he.cpp
@@ -936,8 +936,8 @@ void Sprite::setGroupBounds(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 + 1;
- _spriteGroups[spriteGroupId].bbox.bottom = y2 + 1;
+ _spriteGroups[spriteGroupId].bbox.right = x2;
+ _spriteGroups[spriteGroupId].bbox.bottom = y2;
redrawSpriteGroup(spriteGroupId);
}