[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.24,1.25

Pawe? Ko?odziejski aquadran at users.sourceforge.net
Wed Oct 2 10:53:28 CEST 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv9010

Modified Files:
	sound.cpp 
Log Message:
fixed compilation and indent

Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- sound.cpp	2 Oct 2002 17:31:54 -0000	1.24
+++ sound.cpp	2 Oct 2002 17:52:20 -0000	1.25
@@ -569,11 +569,11 @@
 
 	// Check raw mixer channels, to make sure we're not playing an exotic
 	// sound type manually.
-        for (int i = 0; i < _scumm->_mixer->NUM_CHANNELS; i++) {
-		if (_scumm->_mixer->_channels[i] && (_scumm->_mixer->_channels[i]->_id == sound)) {
-			return 1;
-                }
-        }
+		for (i = 0; i < _scumm->_mixer->NUM_CHANNELS; i++) {
+			if (_scumm->_mixer->_channels[i] && (_scumm->_mixer->_channels[i]->_id == sound)) {
+				return 1;
+			 }
+		}
 
 	se = _scumm->_imuse;
 	if (!se)





More information about the Scummvm-git-logs mailing list