[Scummvm-cvs-logs] SF.net SVN: scummvm:[39347] scummvm/trunk/engines/sci/sfx/core.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Mar 12 00:44:23 CET 2009


Revision: 39347
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39347&view=rev
Author:   thebluegr
Date:     2009-03-11 23:44:22 +0000 (Wed, 11 Mar 2009)

Log Message:
-----------
Fixed another crash right at the beginning of SQ4

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sfx/core.cpp

Modified: scummvm/trunk/engines/sci/sfx/core.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/core.cpp	2009-03-11 22:58:26 UTC (rev 39346)
+++ scummvm/trunk/engines/sci/sfx/core.cpp	2009-03-11 23:44:22 UTC (rev 39347)
@@ -264,6 +264,9 @@
 	/*	_dump_playing_list(self, "before");*/
 	_freeze_time(self); /* Store song delay time */
 
+	if (!newsong)
+		return;
+
 	for (newseeker = newsong; newseeker;
 	        newseeker = newseeker->next_playing) {
 		if (!newseeker || !newseeker->it)


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