Skip to content

Commit

Permalink
Fixed incorrect assertion.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 1, 2019
1 parent a8924e7 commit fb3499a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoal.c
Expand Up @@ -1750,9 +1750,9 @@ static void mix_context(ALCcontext *ctx, float *stream, int len)
/* take it out of the playlist. It wasn't actually playing or it just finished. */
i->playlist_next = NULL;
if (i == ctx->playlist) {
SDL_assert(prev == NULL);
ctx->playlist = next;
} else {
SDL_assert(prev != NULL);
prev->playlist_next = next;
}
}
Expand Down

0 comments on commit fb3499a

Please sign in to comment.