[Scummvm-cvs-logs] SF.net SVN: scummvm: [22387] scummvm/trunk/engines/scumm/he/script_v90he.cpp
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Mon May 8 04:42:04 CEST 2006
Revision: 22387
Author: kirben
Date: 2006-05-08 04:41:32 -0700 (Mon, 08 May 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22387&view=rev
Log Message:
-----------
Fix off by one in rect when capturing image
Modified Paths:
--------------
scummvm/trunk/engines/scumm/he/script_v90he.cpp
Modified: scummvm/trunk/engines/scumm/he/script_v90he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/script_v90he.cpp 2006-05-08 11:04:51 UTC (rev 22386)
+++ scummvm/trunk/engines/scumm/he/script_v90he.cpp 2006-05-08 11:41:32 UTC (rev 22387)
@@ -543,7 +543,7 @@
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 @@
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();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list