Fixed crash in SQ4

svn-id: r39091
This commit is contained in:
Filippos Karapetis 2009-03-03 17:20:02 +00:00
parent 5f13e5ebcd
commit a4e4de9ecd

View file

@ -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 */
}