[Scummvm-cvs-logs] SF.net SVN: scummvm: [31220] scummvm/trunk/engines/kyra/kyra_v2.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sat Mar 22 13:43:24 CET 2008
Revision: 31220
http://scummvm.svn.sourceforge.net/scummvm/?rev=31220&view=rev
Author: lordhoto
Date: 2008-03-22 05:43:23 -0700 (Sat, 22 Mar 2008)
Log Message:
-----------
Fix for bug #1922514 "HoF: palette artifacts when abom. snowman".
Modified Paths:
--------------
scummvm/trunk/engines/kyra/kyra_v2.cpp
Modified: scummvm/trunk/engines/kyra/kyra_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_v2.cpp 2008-03-22 09:58:45 UTC (rev 31219)
+++ scummvm/trunk/engines/kyra/kyra_v2.cpp 2008-03-22 12:43:23 UTC (rev 31220)
@@ -1291,7 +1291,7 @@
_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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list