Correct SF_TOTALLYSINGLE checks.

This commit is contained in:
spherallic 2022-09-16 23:59:19 +02:00
parent 9ef2e7fc11
commit efc0f7a758

View file

@ -222,7 +222,7 @@ static INT32 S_getChannel(const void *origin, sfxinfo_t *sfxinfo)
}
else if (origin && channels[cnum].origin == origin
&& channels[cnum].sfxinfo->name != sfxinfo->name
&& channels[cnum].sfxinfo->pitch == SF_TOTALLYSINGLE && sfxinfo->pitch == SF_TOTALLYSINGLE)
&& channels[cnum].sfxinfo->pitch & SF_TOTALLYSINGLE && sfxinfo->pitch & SF_TOTALLYSINGLE)
{
S_StopChannel(cnum);
break;