From c1344ee379b6450040be78d70d8e6cc1fb309764 Mon Sep 17 00:00:00 2001 From: Jamieson Christian Date: Sat, 16 Nov 2002 14:23:22 +0000 Subject: [Bug 590646] Fixed problem with small blips of music playing when master/music volumes are changed in the ScummVM GUI. svn-id: r5581 --- scumm/imuse.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scumm') 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; } -- cgit v1.2.3