[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.314,1.315

Travis Howell kirben at users.sourceforge.net
Mon Jan 19 16:22:05 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv16540/scumm

Modified Files:
	sound.cpp 
Log Message:

Add newline
Prevent overlapping speech in dig.


Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.314
retrieving revision 1.315
diff -u -d -r1.314 -r1.315
--- sound.cpp	16 Jan 2004 10:45:56 -0000	1.314
+++ sound.cpp	20 Jan 2004 00:21:24 -0000	1.315
@@ -465,9 +465,11 @@
 	if (_vm->_gameId == GID_CMI) {
 		_sfxMode |= mode;
 		return;
-	}
+	} else if (_vm->_gameId == GID_DIG) {
+		_sfxMode |= mode;
+		if (!(_vm->_features & GF_DEMO))
+			return;
 
-	if ((_vm->_gameId == GID_DIG) && (_vm->_features & GF_DEMO)) {
 		char filename[30];
 		char roomname[10];
 





More information about the Scummvm-git-logs mailing list