diff options
author | Jamieson Christian | 2002-11-16 14:23:22 +0000 |
---|---|---|
committer | Jamieson Christian | 2002-11-16 14:23:22 +0000 |
commit | c1344ee379b6450040be78d70d8e6cc1fb309764 (patch) | |
tree | 85cc3da69019bdf78be167a93df2ab302c0341c1 /scumm | |
parent | 34782f17abfd86e40be5f1ea474372e22d49b12a (diff) | |
download | scummvm-rg350-c1344ee379b6450040be78d70d8e6cc1fb309764.tar.gz scummvm-rg350-c1344ee379b6450040be78d70d8e6cc1fb309764.tar.bz2 scummvm-rg350-c1344ee379b6450040be78d70d8e6cc1fb309764.zip |
[Bug 590646] Fixed problem with small blips of music playing
when master/music volumes are changed in the ScummVM GUI.
svn-id: r5581
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp index 8a06d3b242..a7aa8a13da 100644 --- a/scumm/imuse.cpp +++ b/scumm/imuse.cpp @@ -1449,7 +1449,8 @@ int IMuseInternal::set_master_volume_intern(uint vol) _master_volume = vol; for (int i = 0; i != 8; i++) _channel_volume_eff[i] = (_channel_volume[i] + 1) * vol >> 7; - update_volumes(); + if (!_paused) + update_volumes(); return 0; } |