diff options
author | Travis Howell | 2004-01-16 01:52:49 +0000 |
---|---|---|
committer | Travis Howell | 2004-01-16 01:52:49 +0000 |
commit | 555caf225131389d878ba35f484b00bb1d1ba2f1 (patch) | |
tree | 3c27be5ffd678e9e92e4aa445d2d183e3268d06f /scumm/script_v6.cpp | |
parent | 34e1dca97e246e73742c0107b88600c7fed9ccac (diff) | |
download | scummvm-rg350-555caf225131389d878ba35f484b00bb1d1ba2f1.tar.gz scummvm-rg350-555caf225131389d878ba35f484b00bb1d1ba2f1.tar.bz2 scummvm-rg350-555caf225131389d878ba35f484b00bb1d1ba2f1.zip |
Add correct actor palette color changing for HE games.
svn-id: r12419
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index e6f8da5f53..2edf01ffbe 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -1705,7 +1705,10 @@ void ScummEngine_v6::o6_actorOps() { j = pop(); i = pop(); checkRange(255, 0, i, "Illegal palette slot %d"); - a->setPalette(i, j); + if (_features & GF_HUMONGOUS) + a->remapActorPaletteColor(i, j); + else + a->setPalette(i, j); break; case 87: // SO_TALK_COLOR a->talkColor = pop(); |