aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v2.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index d595610720..2562ccd88a 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -696,10 +696,12 @@ void Scumm_v2::o2_actorSet() {
break;
case 2: // Actor Set Color
- if (_version == 2)
+ if (_version == 1)
+ i = act;
+ else
i = fetchScriptByte();
- a->palette[act] = arg;
+ a->palette[i] = arg;
a->needRedraw = true;
break;