summaryrefslogtreecommitdiff
path: root/src/sound/sound.cpp
diff options
context:
space:
mode:
authorAlexander Baldeck <alexander@archlinux.org>2004-09-28 00:39:27 +0000
committerAlexander Baldeck <alexander@archlinux.org>2004-09-28 00:39:27 +0000
commit4e3e8d31962780b5a7fd6e7ba30d59ae34c75700 (patch)
treeacf2a11f4c0f28a23931dab8832a9f6eda284468 /src/sound/sound.cpp
parentaaaaf29c25a41faa9090a1542829ef3cd53840de (diff)
downloadmana-4e3e8d31962780b5a7fd6e7ba30d59ae34c75700.tar.gz
mana-4e3e8d31962780b5a7fd6e7ba30d59ae34c75700.tar.bz2
mana-4e3e8d31962780b5a7fd6e7ba30d59ae34c75700.tar.xz
mana-4e3e8d31962780b5a7fd6e7ba30d59ae34c75700.zip
destructor shuts down mod correctly now
Diffstat (limited to 'src/sound/sound.cpp')
-rw-r--r--src/sound/sound.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sound/sound.cpp b/src/sound/sound.cpp
index 105959ba..f85f4927 100644
--- a/src/sound/sound.cpp
+++ b/src/sound/sound.cpp
@@ -256,6 +256,7 @@ int TmwSound::Close(void) {
mid = NULL;
sfx = NULL;
+ remove_mod();
remove_sound();
isOk = -1;
return 0;