aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/imuse.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp
index 044b3ab9a9..83b434cc56 100644
--- a/scumm/imuse.cpp
+++ b/scumm/imuse.cpp
@@ -929,9 +929,10 @@ void IMuseInternal::expire_volume_faders (MidiDriver *midi) {
_active_volume_faders = false;
vf = _volume_fader;
for (i = ARRAYSIZE(_volume_fader); i != 0; i--, vf++) {
- if (vf->active && vf->player->_midi == midi) {
+ if (vf->active) {
_active_volume_faders = true;
- vf->on_timer(false);
+ if (vf->player->_midi == midi)
+ vf->on_timer(false);
}
}
}