[Scummvm-cvs-logs] CVS: scummvm/sound mixer.cpp,1.177,1.178

Max Horn fingolfin at users.sourceforge.net
Tue Dec 28 03:20:02 CET 2004


Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19501

Modified Files:
	mixer.cpp 
Log Message:
Fixing hasActiveChannelOfType

Index: mixer.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/mixer.cpp,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -d -r1.177 -r1.178
--- mixer.cpp	27 Dec 2004 23:33:19 -0000	1.177
+++ mixer.cpp	28 Dec 2004 11:19:36 -0000	1.178
@@ -397,7 +397,7 @@
 bool SoundMixer::hasActiveChannelOfType(SoundType type) {
 	Common::StackLock lock(_mutex);
 	for (int i = 0; i != NUM_CHANNELS; i++)
-		if (_channels[i] && !_channels[i]->_type == type)
+		if (_channels[i] && _channels[i]->_type == type)
 			return true;
 	return false;
 }





More information about the Scummvm-git-logs mailing list