[Scummvm-cvs-logs] SF.net SVN: scummvm:[46776] scummvm/trunk/engines/sci/gui/gui_palette.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Wed Dec 30 22:54:45 CET 2009
Revision: 46776
http://scummvm.svn.sourceforge.net/scummvm/?rev=46776&view=rev
Author: m_kiewitz
Date: 2009-12-30 21:54:45 +0000 (Wed, 30 Dec 2009)
Log Message:
-----------
SCI: palette merging / comment addition
Modified Paths:
--------------
scummvm/trunk/engines/sci/gui/gui_palette.cpp
Modified: scummvm/trunk/engines/sci/gui/gui_palette.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_palette.cpp 2009-12-30 21:43:57 UTC (rev 46775)
+++ scummvm/trunk/engines/sci/gui/gui_palette.cpp 2009-12-30 21:54:45 UTC (rev 46776)
@@ -210,7 +210,7 @@
}
// is the same color already at the same position? -> match it directly w/o lookup
// this fixes games like lsl1demo/sq5 where the same rgb color exists multiple times and where we would
- // otherwise match the wrong one
+ // otherwise match the wrong one (which would result into the pixels affected (or not) by palette changes)
if ((pTo->colors[i].r == pFrom->colors[i].r) && (pTo->colors[i].g == pFrom->colors[i].g) && (pTo->colors[i].b == pFrom->colors[i].b)) {
pFrom->mapping[i] = i;
continue;
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