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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Tue Mar 17 23:56:21 CET 2009


Revision: 39498
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39498&view=rev
Author:   lordhoto
Date:     2009-03-17 22:56:20 +0000 (Tue, 17 Mar 2009)

Log Message:
-----------
Fix warning.

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

Modified: scummvm/trunk/engines/sci/gfx/operations.cpp
===================================================================
--- scummvm/trunk/engines/sci/gfx/operations.cpp	2009-03-17 22:49:00 UTC (rev 39497)
+++ scummvm/trunk/engines/sci/gfx/operations.cpp	2009-03-17 22:56:20 UTC (rev 39498)
@@ -1875,7 +1875,7 @@
 	} else {
 		// FIXME: the initialization of the GFX resource manager should
 		// be pushed up, and it shouldn't occur here
-		GfxResManager *_gfx = new GfxResManager(state->resstate);
+		_gfx = new GfxResManager(state->resstate);
 		state->pic = _gfx->getPic(nr, GFX_MASK_VISUAL, flags, default_palette, false);
 		delete _gfx;
 	}


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