aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/scumm.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 4e86da1e73..e6ef88548a 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -935,8 +935,10 @@ ScummEngine::~ScummEngine() {
}
#ifndef DISABLE_SCUMM_7_8
- _smixer->stop();
- delete _smixer;
+ if (_smixer) {
+ _smixer->stop();
+ delete _smixer;
+ }
#endif
_mixer->stopAll();