aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2009-03-03 17:20:02 +0000
committerFilippos Karapetis2009-03-03 17:20:02 +0000
commita4e4de9ecd5b4f23a795fbc52b3944f7b7f4b6f4 (patch)
tree8beebd8aeb926668e5710cc60c01baa503d7df5c /engines
parent5f13e5ebcd770b8d2b9955eae756b37e735c1d64 (diff)
downloadscummvm-rg350-a4e4de9ecd5b4f23a795fbc52b3944f7b7f4b6f4.tar.gz
scummvm-rg350-a4e4de9ecd5b4f23a795fbc52b3944f7b7f4b6f4.tar.bz2
scummvm-rg350-a4e4de9ecd5b4f23a795fbc52b3944f7b7f4b6f4.zip
Fixed crash in SQ4
svn-id: r39091
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sfx/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sfx/core.cpp b/engines/sci/sfx/core.cpp
index c0a73a4d4b..47a097f75f 100644
--- a/engines/sci/sfx/core.cpp
+++ b/engines/sci/sfx/core.cpp
@@ -266,7 +266,7 @@ static void _update_multi_song(sfx_state_t *self) {
for (newseeker = newsong; newseeker;
newseeker = newseeker->next_playing) {
- if (!newseeker->it)
+ if (!newseeker || !newseeker->it)
return; /* Restore in progress and not ready for this yet */
}