aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/init.cpp')
-rw-r--r--engines/gob/init.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/gob/init.cpp b/engines/gob/init.cpp
index 82cca27545..81ad101ce9 100644
--- a/engines/gob/init.cpp
+++ b/engines/gob/init.cpp
@@ -61,10 +61,6 @@ void Init::cleanup(void) {
_vm->_video->freeSurfDesc(_vm->_global->_pPrimarySurfDesc);
_vm->_global->_pPrimarySurfDesc = 0;
- if (_vm->_snd->_cleanupFunc != 0 && _vm->_snd->_playingSound != 0) {
- (*_vm->_snd->_cleanupFunc) (0);
- _vm->_snd->_cleanupFunc = 0;
- }
_vm->_snd->speakerOff();
_vm->_dataio->closeDataFile();