diff options
-rw-r--r-- | engines/mohawk/sound.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/mohawk/sound.cpp b/engines/mohawk/sound.cpp index fd825b1575..77028e1604 100644 --- a/engines/mohawk/sound.cpp +++ b/engines/mohawk/sound.cpp @@ -45,15 +45,15 @@ Sound::~Sound() { stopSound(); stopAllSLST(); - if (_midiDriver) { - _midiDriver->close(); - delete _midiDriver; - } - if (_midiParser) { _midiParser->unloadMusic(); delete _midiParser; } + + if (_midiDriver) { + _midiDriver->close(); + delete _midiDriver; + } } void Sound::initMidi() { |