diff options
author | Travis Howell | 2006-07-06 12:22:33 +0000 |
---|---|---|
committer | Travis Howell | 2006-07-06 12:22:33 +0000 |
commit | 9269ebe9f5a281f452594f1e8108e31c88a398fb (patch) | |
tree | a70c70f8491c0c3d93db81dec49f7e07a071f55b /engines/scumm | |
parent | 41626a6af3b171c427797fdca480305b63890047 (diff) | |
download | scummvm-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.cpp | 1 | ||||
-rw-r--r-- | engines/scumm/he/script_v90he.cpp | 1 |
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; |