From cc781cb9b11b4e3342e0661fd06daeec757e18ce Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 20 Aug 2003 11:49:22 +0000 Subject: Ooops that would have broken v2 svn-id: r9795 --- scumm/script_v2.cpp | 6 ++++-- 1 file 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; -- cgit v1.2.3