diff options
author | Travis Howell | 2004-06-29 01:34:42 +0000 |
---|---|---|
committer | Travis Howell | 2004-06-29 01:34:42 +0000 |
commit | b38f62ffdd4a9060b6b77fcb7a1a36f9612883db (patch) | |
tree | f81b90c814a57dda698aeae3e33476a2a542fcb9 | |
parent | 8a9a5c2aa2950ad7eeb3e2e961b5818d43a57a8c (diff) | |
download | scummvm-rg350-b38f62ffdd4a9060b6b77fcb7a1a36f9612883db.tar.gz scummvm-rg350-b38f62ffdd4a9060b6b77fcb7a1a36f9612883db.tar.bz2 scummvm-rg350-b38f62ffdd4a9060b6b77fcb7a1a36f9612883db.zip |
Add check for older puttputt version.
svn-id: r14110
-rw-r--r-- | scumm/script_v6he.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp index cda559a915..ad55ece790 100644 --- a/scumm/script_v6he.cpp +++ b/scumm/script_v6he.cpp @@ -611,7 +611,10 @@ void ScummEngine_v6he::o6_actorOps() { j = pop(); i = pop(); checkRange(255, 0, i, "Illegal palette slot %d"); - a->remapActorPaletteColor(i, j); + if (_features & GF_NEW_COSTUMES) + a->remapActorPaletteColor(i, j); + else + a->setPalette(i, j); break; case 87: // SO_TALK_COLOR a->talkColor = pop(); |