aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v2.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-08-20 11:45:40 +0000
committerTravis Howell2003-08-20 11:45:40 +0000
commit1757d5a4489aa17ef92056a304e2e610fd1e4f53 (patch)
tree621e5068f3fd083dec4ed616560b854e5fcb2967 /scumm/script_v2.cpp
parent7651aa2bb7fac342a6d9aef2c37c25bfa1e9e975 (diff)
downloadscummvm-rg350-1757d5a4489aa17ef92056a304e2e610fd1e4f53.tar.gz
scummvm-rg350-1757d5a4489aa17ef92056a304e2e610fd1e4f53.tar.bz2
scummvm-rg350-1757d5a4489aa17ef92056a304e2e610fd1e4f53.zip
v1 zak costume color almost all right.
svn-id: r9794
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r--scumm/script_v2.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 80d6be6be5..d595610720 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -696,12 +696,10 @@ void Scumm_v2::o2_actorSet() {
break;
case 2: // Actor Set Color
- if (_version == 1) {
- i = 0;
- } else {
+ if (_version == 2)
i = fetchScriptByte();
- }
- a->palette[i] = arg;
+
+ a->palette[act] = arg;
a->needRedraw = true;
break;