[Scummvm-cvs-logs] SF.net SVN: scummvm:[40875] scummvm/trunk/engines/tinsel/graphics.cpp

Hkz at users.sourceforge.net Hkz at users.sourceforge.net
Mon May 25 01:06:39 CEST 2009


Revision: 40875
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40875&view=rev
Author:   Hkz
Date:     2009-05-24 23:06:39 +0000 (Sun, 24 May 2009)

Log Message:
-----------
tinsel: fix some uninitialized var used in Discworld PSX

Modified Paths:
--------------
    scummvm/trunk/engines/tinsel/graphics.cpp

Modified: scummvm/trunk/engines/tinsel/graphics.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/graphics.cpp	2009-05-24 22:32:21 UTC (rev 40874)
+++ scummvm/trunk/engines/tinsel/graphics.cpp	2009-05-24 23:06:39 UTC (rev 40875)
@@ -725,7 +725,7 @@
 	byte psxMapperTable[16];
 
 	bool psxFourBitClut; // Used by Tinsel PSX, true if an image using a 4bit CLUT is rendered
-	bool psxRLEindex; // Used by Tinsel PSX, true if an image is using PJCRLE compressed indexes
+	bool psxRLEindex = false; // Used by Tinsel PSX, true if an image is using PJCRLE compressed indexes
 	uint32 psxSkipBytes; // Used by Tinsel PSX, number of bytes to skip before counting indexes for image tiles
 
 	if ((pObj->width <= 0) || (pObj->height <= 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