From 9269ebe9f5a281f452594f1e8108e31c88a398fb Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Thu, 6 Jul 2006 12:22:33 +0000 Subject: Fix off by one, in the stomach of pajama3 svn-id: r23377 --- engines/scumm/he/script_v100he.cpp | 1 + engines/scumm/he/script_v90he.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'engines/scumm') 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; -- cgit v1.2.3