Fix for bug #1922514 "HoF: palette artifacts when abom. snowman".

svn-id: r31220
This commit is contained in:
Johannes Schickel 2008-03-22 12:43:23 +00:00
parent 63b1de5628
commit df78d4d484

View File

@ -1291,7 +1291,7 @@ void KyraEngine_v2::updateCharPal(int unk1) {
_screen->setScreenPalette(_screen->getPalette(0));
unkVar1 = true;
_charPalEntry = palEntry;
} else if (unkVar1 && !unk1) {
} else if (unkVar1 || !unk1) {
memcpy(_screen->getPalette(0) + 336, &_scenePal[(palEntry << 4) * 3], 48);
_screen->setScreenPalette(_screen->getPalette(0));
unkVar1 = false;