Fixed volume fader problem under multiple MIDI drivers

svn-id: r7585
This commit is contained in:
Jamieson Christian 2003-05-16 23:13:47 +00:00
parent 48f73469e0
commit 124a34f72a

View File

@ -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);
}
}
}