mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
Fix for bug #1922514 "HoF: palette artifacts when abom. snowman".
svn-id: r31220
This commit is contained in:
parent
63b1de5628
commit
df78d4d484
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user