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
This commit is contained in:
Jamieson Christian 2003-07-14 12:15:17 +00:00
parent dc3e4ce46b
commit eedeffac6a

View File

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