aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v7he.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-03-30 11:49:53 +0000
committerTravis Howell2005-03-30 11:49:53 +0000
commit6bb533f936f7cf9cd41cdb6a83d62733935afc32 (patch)
tree0e5a3f9f61a33bc5dcc054c9f7b002f5f15645d7 /scumm/script_v7he.cpp
parentbace6b5a243dcbe233a7faca1f24257dafa9d592 (diff)
downloadscummvm-rg350-6bb533f936f7cf9cd41cdb6a83d62733935afc32.tar.gz
scummvm-rg350-6bb533f936f7cf9cd41cdb6a83d62733935afc32.tar.bz2
scummvm-rg350-6bb533f936f7cf9cd41cdb6a83d62733935afc32.zip
Cleanup
svn-id: r17292
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r--scumm/script_v7he.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp
index a2210ae399..0ef04c2cd9 100644
--- a/scumm/script_v7he.cpp
+++ b/scumm/script_v7he.cpp
@@ -759,12 +759,14 @@ void ScummEngine_v70he::o70_kernelSetFunctions() {
a->_clipOverride.bottom = args[2];
break;
case 42:
- // drawWizImage related
- warning("o70_kernelSetFunctions: unhandled case 42");
+ _wiz._rectOverrideEnabled = true;
+ _wiz._rectOverride.left = args[1];
+ _wiz._rectOverride.top = args[2];
+ _wiz._rectOverride.right = args[3];
+ _wiz._rectOverride.bottom = args[4];
break;
case 43:
- // drawWizImage related
- warning("o70_kernelSetFunctions: unhandled case 43");
+ _wiz._rectOverrideEnabled = false;
break;
default:
error("o70_kernelSetFunctions: default case %d (param count %d)", args[0], num);