[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.81,1.82

Jonathan Gray khalek at users.sourceforge.net
Mon Feb 3 05:11:00 CET 2003


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

Modified Files:
	sound.cpp 
Log Message:
revert part of the no sound device present stuff that was causing speech to finish prematurely

Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- sound.cpp	29 Jan 2003 04:00:45 -0000	1.81
+++ sound.cpp	3 Feb 2003 12:59:54 -0000	1.82
@@ -416,8 +416,8 @@
 
 	if (_scumm->_vars[_scumm->VAR_TALK_ACTOR]) { //_sfxMode & 2) {
 		act = _scumm->_vars[_scumm->VAR_TALK_ACTOR];
-		if (_talkChannel < 1)
-			finished = true;
+		if (_talkChannel < 0)
+			finished = false;
 		else if (_scumm->_mixer->_channels[_talkChannel] == NULL) {
 			finished = true;
 		} else





More information about the Scummvm-git-logs mailing list