diff options
| author | Travis Howell | 2003-08-20 11:49:22 +0000 |
|---|---|---|
| committer | Travis Howell | 2003-08-20 11:49:22 +0000 |
| commit | cc781cb9b11b4e3342e0661fd06daeec757e18ce (patch) | |
| tree | a8194c068b32b311c65843f4d47aa7288167f87a | |
| parent | 1757d5a4489aa17ef92056a304e2e610fd1e4f53 (diff) | |
| download | scummvm-rg350-cc781cb9b11b4e3342e0661fd06daeec757e18ce.tar.gz scummvm-rg350-cc781cb9b11b4e3342e0661fd06daeec757e18ce.tar.bz2 scummvm-rg350-cc781cb9b11b4e3342e0661fd06daeec757e18ce.zip | |
Ooops that would have broken v2
svn-id: r9795
| -rw-r--r-- | scumm/script_v2.cpp | 6 |
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; |
