[Scummvm-cvs-logs] SF.net SVN: scummvm:[54735] scummvm/trunk/engines/sci/resource.cpp

lskovlun at users.sourceforge.net lskovlun at users.sourceforge.net
Thu Dec 2 14:29:50 CET 2010


Revision: 54735
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54735&view=rev
Author:   lskovlun
Date:     2010-12-02 13:29:49 +0000 (Thu, 02 Dec 2010)

Log Message:
-----------
Disable error message regarding RESOURCE.AUD/.SFX for now.

Modified Paths:
--------------
    scummvm/trunk/engines/sci/resource.cpp

Modified: scummvm/trunk/engines/sci/resource.cpp
===================================================================
--- scummvm/trunk/engines/sci/resource.cpp	2010-12-02 13:13:10 UTC (rev 54734)
+++ scummvm/trunk/engines/sci/resource.cpp	2010-12-02 13:29:49 UTC (rev 54735)
@@ -873,8 +873,13 @@
 
 	if (!initFromFallbackDetector) {
 		if (!addInternalSources())
-			error("Somehow I can't seem to find the sound files I need (RESOURCE.AUD/RESOURCE.SFX), aborting");
-
+		{
+		//	FIXME: This error message is not always correct.
+		//	OTOH, it is nice to be able to detect missing files/sources
+		//	So we should definitely fix addInternalSources so this error
+		//	only pops up when necessary. Disabling for now.
+		//	error("Somehow I can't seem to find the sound files I need (RESOURCE.AUD/RESOURCE.SFX), aborting");
+		}
 		scanNewSources();
 	}
 


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