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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Mar 3 18:20:03 CET 2009


Revision: 39091
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39091&view=rev
Author:   thebluegr
Date:     2009-03-03 17:20:02 +0000 (Tue, 03 Mar 2009)

Log Message:
-----------
Fixed crash in 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-03 16:27:56 UTC (rev 39090)
+++ scummvm/trunk/engines/sci/sfx/core.cpp	2009-03-03 17:20:02 UTC (rev 39091)
@@ -266,7 +266,7 @@
 
 	for (newseeker = newsong; newseeker;
 	        newseeker = newseeker->next_playing) {
-		if (!newseeker->it)
+		if (!newseeker || !newseeker->it)
 			return; /* Restore in progress and not ready for this yet */
 	}
 


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