diff options
author | Jamieson Christian | 2003-05-16 23:13:47 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-05-16 23:13:47 +0000 |
commit | 124a34f72a1fd915332b1cdfa64dff7c0f10c027 (patch) | |
tree | 66f0c24583c024a18577ccd071b8c2c6d67141ed /scumm | |
parent | 48f73469e02bba652b60e912cffae0946252b8d8 (diff) | |
download | scummvm-rg350-124a34f72a1fd915332b1cdfa64dff7c0f10c027.tar.gz scummvm-rg350-124a34f72a1fd915332b1cdfa64dff7c0f10c027.tar.bz2 scummvm-rg350-124a34f72a1fd915332b1cdfa64dff7c0f10c027.zip |
Fixed volume fader problem under multiple MIDI drivers
svn-id: r7585
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse.cpp | 5 |
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); } } } |