[Scummvm-cvs-logs] SF.net SVN: scummvm: [27224] scummvm/branches/branch-0-10-0/engines/kyra/ kyra.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sat Jun 9 01:05:24 CEST 2007


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

Log Message:
-----------
Fix crash when closing Kyrandia demo. (backport)

Modified Paths:
--------------
    scummvm/branches/branch-0-10-0/engines/kyra/kyra.cpp

Modified: scummvm/branches/branch-0-10-0/engines/kyra/kyra.cpp
===================================================================
--- scummvm/branches/branch-0-10-0/engines/kyra/kyra.cpp	2007-06-08 23:04:13 UTC (rev 27223)
+++ scummvm/branches/branch-0-10-0/engines/kyra/kyra.cpp	2007-06-08 23:05:24 UTC (rev 27224)
@@ -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