aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-05-08 11:41:32 +0000
committerTravis Howell2006-05-08 11:41:32 +0000
commitca513f7e66762235903dd4f7f0f2a75acbb6b5bd (patch)
treed6cb55b3954c97b5de8c5a00afc9180fc1089fdd /engines
parentd6d3a621dc5fa18043e74ed6690c0bef5afc0121 (diff)
downloadscummvm-rg350-ca513f7e66762235903dd4f7f0f2a75acbb6b5bd.tar.gz
scummvm-rg350-ca513f7e66762235903dd4f7f0f2a75acbb6b5bd.tar.bz2
scummvm-rg350-ca513f7e66762235903dd4f7f0f2a75acbb6b5bd.zip
Fix off by one in rect when capturing image
svn-id: r22387
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/he/script_v90he.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/he/script_v90he.cpp b/engines/scumm/he/script_v90he.cpp
index fc00579919..a6433e4100 100644
--- a/engines/scumm/he/script_v90he.cpp
+++ b/engines/scumm/he/script_v90he.cpp
@@ -543,7 +543,7 @@ void ScummEngine_v90he::o90_videoOps() {
if (_videoParams.flags == 0)
_videoParams.flags = 4;
- if (_videoParams.flags == 2) {
+ if (_videoParams.flags & 2) {
int result = _moviePlay->load((const char *)_videoParams.filename, _videoParams.flags, _videoParams.wizResNum);
VAR(119) = result;
} else {
@@ -639,8 +639,8 @@ void ScummEngine_v90he::o90_wizImageOps() {
case 5:
_wizParams.processFlags |= kWPFClipBox | 0x100;
_wizParams.processMode = 2;
- _wizParams.box.bottom = pop();
- _wizParams.box.right = pop();
+ _wizParams.box.bottom = pop() + 1;
+ _wizParams.box.right = pop() + 1;
_wizParams.box.top = pop();
_wizParams.box.left = pop();
_wizParams.compType = pop();