aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTravis Howell2006-07-06 12:22:33 +0000
committerTravis Howell2006-07-06 12:22:33 +0000
commit9269ebe9f5a281f452594f1e8108e31c88a398fb (patch)
treea70c70f8491c0c3d93db81dec49f7e07a071f55b /engines/scumm
parent41626a6af3b171c427797fdca480305b63890047 (diff)
downloadscummvm-rg350-9269ebe9f5a281f452594f1e8108e31c88a398fb.tar.gz
scummvm-rg350-9269ebe9f5a281f452594f1e8108e31c88a398fb.tar.bz2
scummvm-rg350-9269ebe9f5a281f452594f1e8108e31c88a398fb.zip
Fix off by one, in the stomach of pajama3
svn-id: r23377
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/he/script_v100he.cpp1
-rw-r--r--engines/scumm/he/script_v90he.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/engines/scumm/he/script_v100he.cpp b/engines/scumm/he/script_v100he.cpp
index 02d813f57a..e9d9a8074d 100644
--- a/engines/scumm/he/script_v100he.cpp
+++ b/engines/scumm/he/script_v100he.cpp
@@ -1208,6 +1208,7 @@ void ScummEngine_v100he::o100_wizImageOps() {
_wizParams.box.right = pop();
_wizParams.box.top = pop();
_wizParams.box.left = pop();
+ adjustRect(_wizParams.box);
break;
case 21:
b = pop();
diff --git a/engines/scumm/he/script_v90he.cpp b/engines/scumm/he/script_v90he.cpp
index c8937a1035..a7c40c590f 100644
--- a/engines/scumm/he/script_v90he.cpp
+++ b/engines/scumm/he/script_v90he.cpp
@@ -703,6 +703,7 @@ void ScummEngine_v90he::o90_wizImageOps() {
_wizParams.box.right = pop();
_wizParams.box.top = pop();
_wizParams.box.left = pop();
+ adjustRect(_wizParams.box);
break;
case 40: // HE99+
_wizParams.processFlags |= kWPFPaletteNum;