diff options
author | Travis Howell | 2003-05-19 01:36:04 +0000 |
---|---|---|
committer | Travis Howell | 2003-05-19 01:36:04 +0000 |
commit | 4a87f8191f383b058f18653a4710ebde324ab5b0 (patch) | |
tree | 86ce03d876ba139a028e5cebfae1eefbe5d50f44 /simon/simon.cpp | |
parent | b8d241edb2d748209b0d6b9bf8caafdd30435f43 (diff) | |
download | scummvm-rg350-4a87f8191f383b058f18653a4710ebde324ab5b0.tar.gz scummvm-rg350-4a87f8191f383b058f18653a4710ebde324ab5b0.tar.bz2 scummvm-rg350-4a87f8191f383b058f18653a4710ebde324ab5b0.zip |
Minor cleanup
svn-id: r7666
Diffstat (limited to 'simon/simon.cpp')
-rw-r--r-- | simon/simon.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index b790ffa017..49ede5be20 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -5045,13 +5045,11 @@ void SimonState::playMusic(uint music_unk, uint music) { return; if (_game & GF_SIMON2) { // Simon 2 music + midi.stop(); + _game_file->seek(_game_offsets_ptr[gss->MUSIC_INDEX_BASE + music - 1], SEEK_SET); if (_game & GF_WIN) { - midi.stop(); - _game_file->seek(_game_offsets_ptr[gss->MUSIC_INDEX_BASE + music - 1], SEEK_SET); midi.playMultipleSMF (_game_file); } else { - midi.stop(); - _game_file->seek(_game_offsets_ptr[gss->MUSIC_INDEX_BASE + music - 1], SEEK_SET); midi.playXMIDI (_game_file); } _midi_unk1 = music; |