diff options
author | Max Horn | 2003-12-19 01:08:30 +0000 |
---|---|---|
committer | Max Horn | 2003-12-19 01:08:30 +0000 |
commit | 0cddca5f43c5b85d28f2977d783a6cd5cec0d540 (patch) | |
tree | def3a524c684f22a90012665c06a30e4d20d2d68 /sword2 | |
parent | d21fc5845dc77dd977df22fd9ddc3206bf23a920 (diff) | |
download | scummvm-rg350-0cddca5f43c5b85d28f2977d783a6cd5cec0d540.tar.gz scummvm-rg350-0cddca5f43c5b85d28f2977d783a6cd5cec0d540.tar.bz2 scummvm-rg350-0cddca5f43c5b85d28f2977d783a6cd5cec0d540.zip |
unregister the premix proc when you go away
svn-id: r11755
Diffstat (limited to 'sword2')
-rw-r--r-- | sword2/driver/d_sound.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp index c433620ea6..303fcb5893 100644 --- a/sword2/driver/d_sound.cpp +++ b/sword2/driver/d_sound.cpp @@ -140,6 +140,7 @@ Sound::Sound(Sword2Engine *vm) { } Sound::~Sound() { + _vm->_mixer->setupPremix(0, 0); if (_mutex) _vm->_system->delete_mutex(_mutex); } |