Fix the pending sound list sorting

This commit is contained in:
Boris I. Bendovsky 2019-09-13 19:48:44 +03:00
parent 5d97bbff8a
commit 16ee0073d4
No known key found for this signature in database
GPG key ID: 48CD539C0518594B

View file

@ -724,7 +724,7 @@ S_StartSound(vec3_t origin, int entnum, int entchannel, sfx_t *sfx,
/* sort into the pending sound list */
for (sort = s_pendingplays.next;
sort != &s_pendingplays && sort->begin < ps->begin;
sort != &s_pendingplays && sort->begin <= ps->begin;
sort = sort->next)
{
}