[Scummvm-cvs-logs] CVS: scummvm/simon midi.cpp,1.49,1.50

Jamieson Christian jamieson630 at users.sourceforge.net
Mon Jul 14 05:16:21 CEST 2003


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

Modified Files:
	midi.cpp 
Log Message:
Fixed behavior of "m" key under simon1dos.
The "m" key was turning off both music
AND MIDI sound effects. It now turns off
only the music.

Index: midi.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/midi.cpp,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- midi.cpp	14 Jul 2003 08:29:17 -0000	1.49
+++ midi.cpp	14 Jul 2003 12:15:17 -0000	1.50
@@ -161,12 +161,12 @@
 			p->_current = &p->_music;
 			p->_music.parser->onTimer();
 		}
-		if (p->_sfx.parser) {
-			p->_current = &p->_sfx;
-			p->_sfx.parser->onTimer();
-		}
-		p->_current = 0;
 	}
+	if (p->_sfx.parser) {
+		p->_current = &p->_sfx;
+		p->_sfx.parser->onTimer();
+	}
+	p->_current = 0;
 	p->_system->unlock_mutex (p->_mutex);
 }
 





More information about the Scummvm-git-logs mailing list