[Scummvm-cvs-logs] SF.net SVN: scummvm: [22593] scummvm/trunk/engines/scumm/he/sound_he.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Tue May 23 20:57:02 CEST 2006


Revision: 22593
Author:   eriktorbjorn
Date:     2006-05-23 20:56:48 -0700 (Tue, 23 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22593&view=rev

Log Message:
-----------
Downgraded startHETalkSound() error (when the speech file isn't open) to a
warning, since it happens on the Pajama Sam's Lost & Found demo's main menu
screen.

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/he/sound_he.cpp
Modified: scummvm/trunk/engines/scumm/he/sound_he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/sound_he.cpp	2006-05-24 00:27:56 UTC (rev 22592)
+++ scummvm/trunk/engines/scumm/he/sound_he.cpp	2006-05-24 03:56:48 UTC (rev 22593)
@@ -652,7 +652,9 @@
 
 	assert(_sfxFile);
 	if (!_sfxFile->isOpen()) {
-		error("startHETalkSound: Speech file is not open");
+		// This happens in the Pajama Sam's Lost & Found demo, on the
+		// main menu screen, so don't make it a fatal error.
+		warning("startHETalkSound: Speech file is not open");
 		return;
 	}
 


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