aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v100he.cpp2
-rw-r--r--scumm/script_v90he.cpp2
-rw-r--r--scumm/sprite_he.cpp2
-rw-r--r--scumm/wiz_he.h1
4 files changed, 4 insertions, 3 deletions
diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp
index 34a1790e62..b43f0062a7 100644
--- a/scumm/script_v100he.cpp
+++ b/scumm/script_v100he.cpp
@@ -1251,7 +1251,7 @@ void ScummEngine_v100he::o100_wizImageOps() {
_wizParams.unk_160 = _wizParams.img.y1 = _wizParams.img.x1 = pop();
break;
case 70:
- _wizParams.processFlags |= 4;
+ _wizParams.processFlags |= kWPFXmapNum;
_wizParams.xmapNum = pop();
break;
case 73:
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp
index 79048c283d..d2567d7bb0 100644
--- a/scumm/script_v90he.cpp
+++ b/scumm/script_v90he.cpp
@@ -624,7 +624,7 @@ void ScummEngine_v90he::o90_wizImageOps() {
_wizParams.zoom = pop();
break;
case 52:
- _wizParams.processFlags |= 4;
+ _wizParams.processFlags |= kWPFXmapNum;
_wizParams.xmapNum = pop();
break;
case 85: // HE99+
diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp
index 1e3f6333f6..10302d8961 100644
--- a/scumm/sprite_he.cpp
+++ b/scumm/sprite_he.cpp
@@ -1329,7 +1329,7 @@ void ScummEngine_v90he::spritesProcessWiz(bool arg) {
}
if (spi->xmapNum) {
wiz.img.flags |= 0x200;
- wiz.processFlags |= 4;
+ wiz.processFlags |= kWPFXmapNum;
wiz.xmapNum = spi->xmapNum;
}
if (spr_flags & kSFNeedPaletteRemap)
diff --git a/scumm/wiz_he.h b/scumm/wiz_he.h
index 2dabd18412..218d3eaaee 100644
--- a/scumm/wiz_he.h
+++ b/scumm/wiz_he.h
@@ -91,6 +91,7 @@ enum WizImageFlags {
enum WizProcessFlags {
kWPFSetPos = 0x1,
+ kWPFXmapNum = 0x4,
kWPFZoom = 0x8,
kWPFRotate = 0x10,
kWPFNewFlags = 0x20,