[Scummvm-cvs-logs] CVS: scummvm-new/scumm imuse.cpp,1.3,1.4

Max Horn fingolfin at users.sourceforge.net
Fri Aug 23 13:34:02 CEST 2002


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

Modified Files:
	imuse.cpp 
Log Message:
fix for bug #598938: sfx/music volume set 0 is not mute; some cleanup

Index: imuse.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm-new/scumm/imuse.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- imuse.cpp	22 Aug 2002 12:09:06 -0000	1.3
+++ imuse.cpp	23 Aug 2002 20:33:07 -0000	1.4
@@ -1271,7 +1271,7 @@
 	if (vol > 127)
 		return -1;
 
-	if (_music_volume > 0)
+	if (_music_volume >= 0)
 		vol = vol * _music_volume / 128;
 
 	_master_volume = vol;





More information about the Scummvm-git-logs mailing list