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

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Fri Nov 2 09:34:57 CET 2007


Revision: 29374
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29374&view=rev
Author:   peres001
Date:     2007-11-02 01:34:56 -0700 (Fri, 02 Nov 2007)

Log Message:
-----------
Fixed overflow after fadeout in the last game location (bug #1824026).

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

Modified: scummvm/trunk/engines/parallaction/parallaction.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/parallaction.cpp	2007-11-01 23:31:28 UTC (rev 29373)
+++ scummvm/trunk/engines/parallaction/parallaction.cpp	2007-11-02 08:34:56 UTC (rev 29374)
@@ -870,7 +870,7 @@
 	uint16 v2 = 0;
 	if (!scumm_stricmp(background, "final")) {
 		_gfx->clearScreen(Gfx::kBitBack);
-		for (uint16 _si = 0; _si <= 32; _si++) {
+		for (uint16 _si = 0; _si < 32; _si++) {
 			pal.setEntry(_si, v2, v2, v2);
 			v2 += 4;
 		}


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