Add check for older puttputt version.

svn-id: r14110
This commit is contained in:
Travis Howell 2004-06-29 01:34:42 +00:00
parent 8a9a5c2aa2
commit b38f62ffdd

View File

@ -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();