aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-05 15:37:51 +0000
committerTorbjörn Andersson2003-09-05 15:37:51 +0000
commit94ec5238c934112e34818b0d9441ca5a9fb47ab8 (patch)
treec9f90c68d7ce342c838af7cffa3f8359057b37d0 /sword2/driver
parent0c4d151381cbc08327880a0c1bfe73a49d71aaf9 (diff)
downloadscummvm-rg350-94ec5238c934112e34818b0d9441ca5a9fb47ab8.tar.gz
scummvm-rg350-94ec5238c934112e34818b0d9441ca5a9fb47ab8.tar.bz2
scummvm-rg350-94ec5238c934112e34818b0d9441ca5a9fb47ab8.zip
This fixes another music-related crash for me. I guess it's our
implementation of music fade-out that makes it a bad thing to close the music cluster file prematurely. svn-id: r10007
Diffstat (limited to 'sword2/driver')
-rw-r--r--sword2/driver/d_sound.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp
index 2f5b29c914..bc3ee926d9 100644
--- a/sword2/driver/d_sound.cpp
+++ b/sword2/driver/d_sound.cpp
@@ -1412,10 +1412,6 @@ void Sword2Sound::StopMusic(void) {
else
musLooping[i] = 0;
}
-
- if (fpMus.isOpen()) {
- fpMus.close();
- }
}
int32 Sword2Sound::PauseMusic(void) {