From b38f62ffdd4a9060b6b77fcb7a1a36f9612883db Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 29 Jun 2004 01:34:42 +0000 Subject: Add check for older puttputt version. svn-id: r14110 --- scumm/script_v6he.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.3