aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he
diff options
context:
space:
mode:
authorTravis Howell2006-03-12 01:06:23 +0000
committerTravis Howell2006-03-12 01:06:23 +0000
commit3e72b26adc0d151e36106a3fb974fab4f36da1de (patch)
tree0a2c9fed09c64cec7f30ed36095f0d7ed3762315 /engines/scumm/he
parentf9797f3ac39008d571e8744c38e1eb1d39aec198 (diff)
downloadscummvm-rg350-3e72b26adc0d151e36106a3fb974fab4f36da1de.tar.gz
scummvm-rg350-3e72b26adc0d151e36106a3fb974fab4f36da1de.tar.bz2
scummvm-rg350-3e72b26adc0d151e36106a3fb974fab4f36da1de.zip
Revert mistaken commit of local debug code
svn-id: r21220
Diffstat (limited to 'engines/scumm/he')
-rw-r--r--engines/scumm/he/script_v100he.cpp2
-rw-r--r--engines/scumm/he/script_v72he.cpp2
-rw-r--r--engines/scumm/he/sprite_he.cpp4
3 files changed, 2 insertions, 6 deletions
diff --git a/engines/scumm/he/script_v100he.cpp b/engines/scumm/he/script_v100he.cpp
index 807203fd1c..7f38ef5423 100644
--- a/engines/scumm/he/script_v100he.cpp
+++ b/engines/scumm/he/script_v100he.cpp
@@ -2640,11 +2640,9 @@ void ScummEngine_v100he::o100_getSpriteInfo() {
byte subOp = fetchScriptByte();
- printf("o100_getSpriteInfo: subOp %d\n", subOp);
switch (subOp) {
case 3:
spriteId = pop();
- printf("spriteId is %d\n", spriteId);
if (spriteId)
push(_sprite->getSpriteFlagAutoAnim(spriteId));
else
diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp
index 7ed98988d7..939dba168c 100644
--- a/engines/scumm/he/script_v72he.cpp
+++ b/engines/scumm/he/script_v72he.cpp
@@ -621,8 +621,6 @@ void ScummEngine_v72he::decodeScriptString(byte *dst, bool scriptString) {
len = resStrLen(string) + 1;
}
- printf("String %s\n", string);
-
// Decode string
num = 0;
val = 0;
diff --git a/engines/scumm/he/sprite_he.cpp b/engines/scumm/he/sprite_he.cpp
index 37d7d59e23..8f17a89215 100644
--- a/engines/scumm/he/sprite_he.cpp
+++ b/engines/scumm/he/sprite_he.cpp
@@ -925,8 +925,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);
}