[Scummvm-cvs-logs] SF.net SVN: scummvm: [29224] scummvm/trunk/engines/parallaction/ callables_ns.cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Mon Oct 15 20:59:32 CEST 2007


Revision: 29224
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29224&view=rev
Author:   peres001
Date:     2007-10-15 11:59:32 -0700 (Mon, 15 Oct 2007)

Log Message:
-----------
Fixed bug #1814061. Special effect routine was overflowing palette size.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/callables_ns.cpp

Modified: scummvm/trunk/engines/parallaction/callables_ns.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/callables_ns.cpp	2007-10-15 09:21:13 UTC (rev 29223)
+++ scummvm/trunk/engines/parallaction/callables_ns.cpp	2007-10-15 18:59:32 UTC (rev 29224)
@@ -359,7 +359,7 @@
 	Palette pal0(_gfx->_palette);
 	Palette pal1;
 
-	for (uint16 i = 0; i <= 32; i++) {
+	for (uint16 i = 0; i < 32; i++) {
 		pal0.setEntry(i, -1, 0, 0);			// leaves reds unchanged while zeroing other components
 	}
 


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