[Scummvm-cvs-logs] CVS: scummvm/simon sound.cpp,1.4,1.5

Travis Howell kirben at users.sourceforge.net
Sat Dec 7 17:31:07 CET 2002


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv15373/simon

Modified Files:
	sound.cpp 
Log Message:

Prevent another pointless warning


Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/sound.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- sound.cpp	7 Dec 2002 17:35:33 -0000	1.4
+++ sound.cpp	8 Dec 2002 01:30:19 -0000	1.5
@@ -94,7 +94,7 @@
 	file->open(filename, gameDataPath);
 
 	if (file->isOpen() == false) {
-		if (atoi(filename + 6) != 1)
+		if (atoi(filename + 6) != 1 && atoi(filename + 6) != 30)
 		warning("readSfxFile: Cannot load sfx file %s", filename);
 		return;
 	}





More information about the Scummvm-git-logs mailing list