aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v7he.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-06-04 07:30:49 +0000
committerTravis Howell2005-06-04 07:30:49 +0000
commitfdb2e5b40ad1d1ac2fb44ac0d52553c50f212b1d (patch)
treef8d181d4c4ee81692f1eeb9a47a15b5112203912 /scumm/script_v7he.cpp
parent52a61dda396b867fa4f6983ced25960a1bf22e9d (diff)
downloadscummvm-rg350-fdb2e5b40ad1d1ac2fb44ac0d52553c50f212b1d.tar.gz
scummvm-rg350-fdb2e5b40ad1d1ac2fb44ac0d52553c50f212b1d.tar.bz2
scummvm-rg350-fdb2e5b40ad1d1ac2fb44ac0d52553c50f212b1d.zip
Fix another off by one in rects.
Fixes minor glitches in water svn-id: r18331
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r--scumm/script_v7he.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp
index 7d176c90c7..69f384819a 100644
--- a/scumm/script_v7he.cpp
+++ b/scumm/script_v7he.cpp
@@ -826,8 +826,8 @@ void ScummEngine_v70he::o70_kernelSetFunctions() {
_wiz->_rectOverrideEnabled = true;
_wiz->_rectOverride.left = args[1];
_wiz->_rectOverride.top = args[2];
- _wiz->_rectOverride.right = args[3];
- _wiz->_rectOverride.bottom = args[4];
+ _wiz->_rectOverride.right = args[3] + 1;
+ _wiz->_rectOverride.bottom = args[4] + 1;
break;
case 43:
_wiz->_rectOverrideEnabled = false;