diff options
author | Filippos Karapetis | 2009-03-03 17:20:02 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-03-03 17:20:02 +0000 |
commit | a4e4de9ecd5b4f23a795fbc52b3944f7b7f4b6f4 (patch) | |
tree | 8beebd8aeb926668e5710cc60c01baa503d7df5c | |
parent | 5f13e5ebcd770b8d2b9955eae756b37e735c1d64 (diff) | |
download | scummvm-rg350-a4e4de9ecd5b4f23a795fbc52b3944f7b7f4b6f4.tar.gz scummvm-rg350-a4e4de9ecd5b4f23a795fbc52b3944f7b7f4b6f4.tar.bz2 scummvm-rg350-a4e4de9ecd5b4f23a795fbc52b3944f7b7f4b6f4.zip |
Fixed crash in SQ4
svn-id: r39091
-rw-r--r-- | engines/sci/sfx/core.cpp | 2 |
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 */ } |