[Scummvm-cvs-logs] SF.net SVN: scummvm: [27223] scummvm/trunk/engines/kyra/kyra.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sat Jun 9 01:04:13 CEST 2007


Revision: 27223
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27223&view=rev
Author:   lordhoto
Date:     2007-06-08 16:04:13 -0700 (Fri, 08 Jun 2007)

Log Message:
-----------
Fix crash when closing Kyrandia demo.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/kyra.cpp

Modified: scummvm/trunk/engines/kyra/kyra.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra.cpp	2007-06-08 22:27:49 UTC (rev 27222)
+++ scummvm/trunk/engines/kyra/kyra.cpp	2007-06-08 23:04:13 UTC (rev 27223)
@@ -110,6 +110,8 @@
 
 	_curSfxFile = _curMusicTheme = 0;
 
+	memset(&_itemBkgBackUp, 0, sizeof(_itemBkgBackUp));
+
 	// sets up all engine specific debug levels
 	Common::addSpecialDebugLevel(kDebugLevelScriptFuncs, "ScriptFuncs", "Script function debug level");
 	Common::addSpecialDebugLevel(kDebugLevelScript, "Script", "Script interpreter debug level");


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