aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;