fix for bug #598938: sfx/music volume set 0 is not mute; some cleanup
svn-id: r4805
This commit is contained in:
parent
0a520b237b
commit
08b161f113
2 changed files with 2 additions and 4 deletions
|
@ -1271,7 +1271,7 @@ int IMuseInternal::set_master_volume_intern(uint vol)
|
|||
if (vol > 127)
|
||||
return -1;
|
||||
|
||||
if (_music_volume > 0)
|
||||
if (_music_volume >= 0)
|
||||
vol = vol * _music_volume / 128;
|
||||
|
||||
_master_volume = vol;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue