aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sfx/core.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/sfx/core.cpp b/engines/sci/sfx/core.cpp
index ec9360795f..a0fc166f9c 100644
--- a/engines/sci/sfx/core.cpp
+++ b/engines/sci/sfx/core.cpp
@@ -264,6 +264,9 @@ static void _update_multi_song(sfx_state_t *self) {
/* _dump_playing_list(self, "before");*/
_freeze_time(self); /* Store song delay time */
+ if (!newsong)
+ return;
+
for (newseeker = newsong; newseeker;
newseeker = newseeker->next_playing) {
if (!newseeker || !newseeker->it)