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

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Sat Feb 5 00:03:05 CET 2011


Revision: 55776
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55776&view=rev
Author:   mthreepwood
Date:     2011-02-04 23:03:05 +0000 (Fri, 04 Feb 2011)

Log Message:
-----------
SCI: Properly initialize a Robot variable so we don't segfault on quitting

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-02-04 21:51:10 UTC (rev 55775)
+++ scummvm/trunk/engines/sci/graphics/robot.cpp	2011-02-04 23:03:05 UTC (rev 55776)
@@ -64,7 +64,7 @@
 
 GfxRobot::GfxRobot(ResourceManager *resMan, GfxScreen *screen, GfxPalette *palette)
 	: _resMan(resMan), _screen(screen), _palette(palette), _outputBuffer(0),
-	_outputBufferSize(0), _audioStream(0) {
+	_outputBufferSize(0), _audioStream(0), _frameTotalSize(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