[Scummvm-cvs-logs] SF.net SVN: scummvm:[50619] scummvm/trunk/engines/sci/sci.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Sat Jul 3 08:55:11 CEST 2010
Revision: 50619
http://scummvm.svn.sourceforge.net/scummvm/?rev=50619&view=rev
Author: m_kiewitz
Date: 2010-07-03 06:55:10 +0000 (Sat, 03 Jul 2010)
Log Message:
-----------
SCI: added resetting of SoundCommandParser, so that error()s before that one got initialized wont crash
Modified Paths:
--------------
scummvm/trunk/engines/sci/sci.cpp
Modified: scummvm/trunk/engines/sci/sci.cpp
===================================================================
--- scummvm/trunk/engines/sci/sci.cpp 2010-07-03 05:05:28 UTC (rev 50618)
+++ scummvm/trunk/engines/sci/sci.cpp 2010-07-03 06:55:10 UTC (rev 50619)
@@ -187,6 +187,9 @@
}
*/
+ // Reset, so that error()s before SoundCommandParser is initialized wont cause a crash
+ _soundCmd = NULL;
+
// Add the after market GM patches for the specified game, if they exist
_resMan->addNewGMPatch(_gameId);
_gameObj = _resMan->findGameObject();
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