aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sfx/core.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sci/sfx/core.cpp b/engines/sci/sfx/core.cpp
index f542d86ae4..d819ef7b9b 100644
--- a/engines/sci/sfx/core.cpp
+++ b/engines/sci/sfx/core.cpp
@@ -438,8 +438,10 @@ void sfx_exit(sfx_state_t *self) {
player = 0;
}
- if (strcmp(player->name, "new") == 0)
- g_system->getMixer()->stopAll();
+ // FIXME: player is deleted here by the code above, so this will crash.
+ // Is that code needed?
+ //if (strcmp(player->name, "new") == 0)
+ // g_system->getMixer()->stopAll();
song_lib_free(self->songlib);