diff options
author | Jamieson Christian | 2003-07-14 12:15:17 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-07-14 12:15:17 +0000 |
commit | eedeffac6a55ace2331b38447502e90a0ebde263 (patch) | |
tree | 20c67f0dd1016f8e73b000d82f8bbc99f9a96707 /simon | |
parent | dc3e4ce46baa4a14d1fcbf9555cd82d00ccbba7e (diff) | |
download | scummvm-rg350-eedeffac6a55ace2331b38447502e90a0ebde263.tar.gz scummvm-rg350-eedeffac6a55ace2331b38447502e90a0ebde263.tar.bz2 scummvm-rg350-eedeffac6a55ace2331b38447502e90a0ebde263.zip |
Fixed behavior of "m" key under simon1dos.
The "m" key was turning off both music
AND MIDI sound effects. It now turns off
only the music.
svn-id: r9014
Diffstat (limited to 'simon')
-rw-r--r-- | simon/midi.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/simon/midi.cpp b/simon/midi.cpp index b7d9b11333..dc4ac95cf8 100644 --- a/simon/midi.cpp +++ b/simon/midi.cpp @@ -161,12 +161,12 @@ void MidiPlayer::onTimer (void *data) { p->_current = &p->_music; p->_music.parser->onTimer(); } - if (p->_sfx.parser) { - p->_current = &p->_sfx; - p->_sfx.parser->onTimer(); - } - p->_current = 0; } + if (p->_sfx.parser) { + p->_current = &p->_sfx; + p->_sfx.parser->onTimer(); + } + p->_current = 0; p->_system->unlock_mutex (p->_mutex); } |