[Scummvm-cvs-logs] SF.net SVN: scummvm:[41917] scummvm/trunk/engines/kyra/screen_lol.cpp

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Sat Jun 27 15:15:48 CEST 2009


Revision: 41917
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41917&view=rev
Author:   athrxx
Date:     2009-06-27 13:15:47 +0000 (Sat, 27 Jun 2009)

Log Message:
-----------
LOL: fixed regression

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/screen_lol.cpp

Modified: scummvm/trunk/engines/kyra/screen_lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/screen_lol.cpp	2009-06-27 12:36:12 UTC (rev 41916)
+++ scummvm/trunk/engines/kyra/screen_lol.cpp	2009-06-27 13:15:47 UTC (rev 41917)
@@ -157,7 +157,7 @@
 	}
 
 	for (int i = 0; i < lastColor; i++)
-		grayOverlay[i] = findLeastDifferentColor(tmpPal.getData() + 3 * i, srcPal, lastColor, skipSpecialColors);
+		grayOverlay[i] = findLeastDifferentColor(tmpPal.getData() + 3 * i, srcPal, 0, lastColor, skipSpecialColors);
 }
 
 uint8 *Screen_LoL::generateLevelOverlay(const Palette &srcPal, uint8 *ovl, int opColor, int weight) {


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