diff options
author | Max Horn | 2002-08-23 20:33:29 +0000 |
---|---|---|
committer | Max Horn | 2002-08-23 20:33:29 +0000 |
commit | 08b161f1137b9b7590c2acbbed13c2154fc89afc (patch) | |
tree | bb367de6866b0fe5b42d4743ca3b4d6309a7a673 /scumm | |
parent | 0a520b237b1b545f6e3227b89f4825b0820e2c7a (diff) | |
download | scummvm-rg350-08b161f1137b9b7590c2acbbed13c2154fc89afc.tar.gz scummvm-rg350-08b161f1137b9b7590c2acbbed13c2154fc89afc.tar.bz2 scummvm-rg350-08b161f1137b9b7590c2acbbed13c2154fc89afc.zip |
fix for bug #598938: sfx/music volume set 0 is not mute; some cleanup
svn-id: r4805
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp index 826c4127b2..7a6742fbd4 100644 --- a/scumm/imuse.cpp +++ b/scumm/imuse.cpp @@ -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; |