aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2005-04-30 05:47:09 +0000
committerTravis Howell2005-04-30 05:47:09 +0000
commit211da446cc4937a6eb736bdcd1e9cf354bdf44ef (patch)
tree16158621899359150c4911b0f9bce39e93e50dba /scumm
parentabef7907df20bc1e60a4992919e5e6de7abd4e55 (diff)
downloadscummvm-rg350-211da446cc4937a6eb736bdcd1e9cf354bdf44ef.tar.gz
scummvm-rg350-211da446cc4937a6eb736bdcd1e9cf354bdf44ef.tar.bz2
scummvm-rg350-211da446cc4937a6eb736bdcd1e9cf354bdf44ef.zip
Reset additional fields
svn-id: r17871
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v100he.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp
index 801d3be9b4..6210ce2522 100644
--- a/scumm/script_v100he.cpp
+++ b/scumm/script_v100he.cpp
@@ -1133,6 +1133,10 @@ void ScummEngine_v100he::o100_wizImageOps() {
_wizParams.processFlags = 0;
_wizParams.remapNum = 0;
_wizParams.img.flags = 0;
+ _wizParams.field_184 = 0;
+ _wizParams.field_180 = 0;
+ _wizParams.spriteId = 0;
+ _wizParams.groupNum = 0;
break;
case 2:
_wizParams.processFlags |= kWPFRotate;
@@ -1213,6 +1217,8 @@ void ScummEngine_v100he::o100_wizImageOps() {
_wizParams.img.state = pop();
_wizParams.img.y1 = pop();
_wizParams.img.x1 = pop();
+ _wizParams.spriteId = 0;
+ _wizParams.groupNum = 0;
_wizParams.img.resNum = pop();
displayWizImage(&_wizParams.img);
break;