aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r--scumm/script_v2.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 6fc9047594..aafdac4930 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -691,8 +691,7 @@ void ScummEngine_v2::o2_actorOps() {
else
i = fetchScriptByte();
- a->palette[i] = arg;
- a->needRedraw = true;
+ a->setPalette(i, arg);
break;
case 3: // SO_ACTOR_NAME
loadPtrToResource(rtActorName, a->number, NULL);