[Scummvm-cvs-logs] SF.net SVN: scummvm:[39769] scummvm/trunk/engines/sci/gfx/gfx_resmgr.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Mar 30 23:52:47 CEST 2009


Revision: 39769
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39769&view=rev
Author:   thebluegr
Date:     2009-03-30 21:52:46 +0000 (Mon, 30 Mar 2009)

Log Message:
-----------
Initialize _staticPalette when creating the graphics resource manager. This allows KQ6 to start (and then sit idly doing nothing in the main menu :) )

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gfx/gfx_resmgr.cpp

Modified: scummvm/trunk/engines/sci/gfx/gfx_resmgr.cpp
===================================================================
--- scummvm/trunk/engines/sci/gfx/gfx_resmgr.cpp	2009-03-30 21:41:29 UTC (rev 39768)
+++ scummvm/trunk/engines/sci/gfx/gfx_resmgr.cpp	2009-03-30 21:52:46 UTC (rev 39769)
@@ -50,7 +50,7 @@
 
 GfxResManager::GfxResManager(int version, gfx_options_t *options, gfx_driver_t *driver, ResourceManager *resManager) : 
 				_version(version), _options(options), _driver(driver), _resManager(resManager), 
-				_lockCounter(0), _tagLockCounter(0) {
+				_lockCounter(0), _tagLockCounter(0), _staticPalette(0) {
 	gfxr_init_static_palette();
 
 	if (_version < SCI_VERSION_01_VGA) {


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