aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-04-20 00:46:37 +0000
committerTravis Howell2005-04-20 00:46:37 +0000
commit214a5da948423aba60c289a2a158d2f91424d2ee (patch)
treef21fb3f84a83741e4659a997bf9bf846180d066d
parentd23878ab6c30a17bc5654dbda14e3d8a15853fb5 (diff)
downloadscummvm-rg350-214a5da948423aba60c289a2a158d2f91424d2ee.tar.gz
scummvm-rg350-214a5da948423aba60c289a2a158d2f91424d2ee.tar.bz2
scummvm-rg350-214a5da948423aba60c289a2a158d2f91424d2ee.zip
Correct flag value.
svn-id: r17697
-rw-r--r--scumm/script_v100he.cpp7
-rw-r--r--scumm/script_v90he.cpp3
2 files changed, 4 insertions, 6 deletions
diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp
index f54420dd13..f54fe5dcd0 100644
--- a/scumm/script_v100he.cpp
+++ b/scumm/script_v100he.cpp
@@ -1206,20 +1206,19 @@ void ScummEngine_v100he::o100_wizImageOps() {
_wizParams.processMode = 8;
break;
case 54:
- _wizParams.processFlags |= kWPFDstResNum;
- //_wizParams.unk_17C = pop();
+ _wizParams.processFlags |= 0x100000;
//_wizParams.unk_180 = pop();
+ //_wizParams.unk_184 = pop();
pop();
pop();
break;
case 55:
- _wizParams.processFlags |= kWPFSetPos | kWPFNewState | kWPFNewFlags;
_wizParams.img.flags = pop();
_wizParams.img.state = pop();
_wizParams.img.y1 = pop();
_wizParams.img.x1 = pop();
_wizParams.img.resNum = pop();
- displayWizComplexImage(&_wizParams);
+ displayWizImage(&_wizParams.img);
break;
case 57:
_wizParams.processFlags |= kWPFPaletteNum;
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp
index 72d5cf3c63..c887ff2ffa 100644
--- a/scumm/script_v90he.cpp
+++ b/scumm/script_v90he.cpp
@@ -570,13 +570,12 @@ void ScummEngine_v90he::o90_wizImageOps() {
_wizParams.img.flags = pop();
break;
case 10:
- _wizParams.processFlags |= kWPFSetPos | kWPFNewState | kWPFNewFlags;
_wizParams.img.flags = pop();
_wizParams.img.state = pop();
_wizParams.img.y1 = pop();
_wizParams.img.x1 = pop();
_wizParams.img.resNum = pop();
- displayWizComplexImage(&_wizParams);
+ displayWizImage(&_wizParams.img);
break;
case 11:
_wizParams.img.resNum = pop();