diff options
Diffstat (limited to 'src/sound.cpp')
-rw-r--r-- | src/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound.cpp b/src/sound.cpp index d562a688..7bbe36e7 100644 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -38,8 +38,6 @@ Sound::Sound(): Sound::~Sound() { - stopMusic(); - close(); } void Sound::init() @@ -207,6 +205,8 @@ void Sound::playSfx(const char *path) void Sound::close() { + stopMusic(); + installed = false; Mix_CloseAudio(); logger->log("Sound::close() Shutting down sound..."); |