[Scummvm-cvs-logs] SF.net SVN: scummvm:[55689] scummvm/trunk/engines/sci/graphics/robot.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Mon Jan 31 19:18:39 CET 2011


Revision: 55689
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55689&view=rev
Author:   drmccoy
Date:     2011-01-31 18:18:39 +0000 (Mon, 31 Jan 2011)

Log Message:
-----------
SCI: Add missing initializations

_resourceData, _imageStart, _audioStart and _audioLen

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/robot.cpp

Modified: scummvm/trunk/engines/sci/graphics/robot.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/robot.cpp	2011-01-31 18:03:27 UTC (rev 55688)
+++ scummvm/trunk/engines/sci/graphics/robot.cpp	2011-01-31 18:18:39 UTC (rev 55689)
@@ -61,7 +61,8 @@
 
 #ifdef ENABLE_SCI32
 GfxRobot::GfxRobot(ResourceManager *resMan, GfxScreen *screen, GfxPalette *palette)
-	: _resMan(resMan), _screen(screen), _palette(palette) {
+	: _resMan(resMan), _screen(screen), _palette(palette), _resourceData(0),
+	  _imageStart(0), _audioStart(0), _audioLen(0) {
 	_resourceId = -1;
 	_x = _y = 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