diff options
Diffstat (limited to 'sword1/music.cpp')
-rw-r--r-- | sword1/music.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sword1/music.cpp b/sword1/music.cpp index 154cf2f6e9..4f76dc21db 100644 --- a/sword1/music.cpp +++ b/sword1/music.cpp @@ -189,8 +189,12 @@ void SwordMusic::startMusic(int32 tuneId, int32 loopFlag) { _fadeBuf = NULL; } } - } else if (_playing) - fadeDown(); + } else { + if (_playing) + fadeDown(); + if (_musicFile.isOpen()) + _musicFile.close(); + } _system->unlock_mutex(_mutex); stream(); } |