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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Apr 28 21:03:11 CEST 2008


Revision: 31760
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31760&view=rev
Author:   lordhoto
Date:     2008-04-28 12:03:11 -0700 (Mon, 28 Apr 2008)

Log Message:
-----------
Fixed bug in KyraEngine_v3::updateCharPal, should fix malcolms palette in scene 42.

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

Modified: scummvm/trunk/engines/kyra/kyra_v3.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_v3.cpp	2008-04-28 18:57:17 UTC (rev 31759)
+++ scummvm/trunk/engines/kyra/kyra_v3.cpp	2008-04-28 19:03:11 UTC (rev 31760)
@@ -964,7 +964,7 @@
 			++dst;
 			++sceneDatPal;
 			++j;
-			if (j > 3) {
+			if (j >= 3) {
 				sceneDatPal = &_sceneDatPalette[layer * 3];
 				j = 0;
 			}


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