aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v100he.cpp4
-rw-r--r--scumm/script_v6he.cpp2
-rw-r--r--scumm/script_v72he.cpp3
3 files changed, 9 insertions, 0 deletions
diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp
index d0433a31b0..8b380acce5 100644
--- a/scumm/script_v100he.cpp
+++ b/scumm/script_v100he.cpp
@@ -473,13 +473,16 @@ void ScummEngine_v100he::o100_actorOps() {
i = pop();
checkRange(255, 0, i, "o100_actorOps: Illegal palette slot %d");
a->remapActorPaletteColor(i, j);
+ a->needRedraw = true;
break;
case 59:
// Uses reverse order of layering, so we adjust
a->_layer = -pop();
+ a->needRedraw = true;
break;
case 63:
a->hePaletteNum = pop();
+ a->needRedraw = true;
break;
case 65: // SO_SCALE
i = pop();
@@ -487,6 +490,7 @@ void ScummEngine_v100he::o100_actorOps() {
break;
case 70: // SO_SHADOW
a->_shadowMode = pop();
+ a->needRedraw = true;
debug(0, "o100_actorOps: Set actor XMAP idx to %d", a->_shadowMode);
break;
case 74: // SO_STEP_DIST
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp
index 438bfe4a7e..28f0523e90 100644
--- a/scumm/script_v6he.cpp
+++ b/scumm/script_v6he.cpp
@@ -659,6 +659,7 @@ void ScummEngine_v60he::o60_actorOps() {
i = pop();
checkRange(255, 0, i, "Illegal palette slot %d");
a->remapActorPaletteColor(i, j);
+ a->needRedraw = true;
break;
case 87: // SO_TALK_COLOR
a->talkColor = pop();
@@ -699,6 +700,7 @@ void ScummEngine_v60he::o60_actorOps() {
break;
case 98: // SO_SHADOW
a->_shadowMode = pop();
+ a->needRedraw = true;
break;
case 99: // SO_TEXT_OFFSET
a->talkPosY = pop();
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index c32eef2963..0170fdc5d5 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -995,6 +995,7 @@ void ScummEngine_v72he::o72_actorOps() {
case 43: // HE 90+
// Uses reverse order of layering, so we adjust
a->_layer = -pop();
+ a->needRedraw = true;
break;
case 64:
case 67: // HE 99+
@@ -1059,6 +1060,7 @@ void ScummEngine_v72he::o72_actorOps() {
i = pop();
checkRange(255, 0, i, "Illegal palette slot %d");
a->remapActorPaletteColor(i, j);
+ a->needRedraw = true;
break;
case 87: // SO_TALK_COLOR
a->talkColor = pop();
@@ -1100,6 +1102,7 @@ void ScummEngine_v72he::o72_actorOps() {
break;
case 98: // SO_SHADOW
a->_shadowMode = pop();
+ a->needRedraw = true;
debug(0, "Set actor XMAP idx to %d", a->_shadowMode);
break;
case 99: // SO_TEXT_OFFSET