more triage :P

This commit is contained in:
Bill Currie 2003-04-17 02:55:26 +00:00
parent 87025a4598
commit 772b8d5961

View file

@ -251,12 +251,7 @@ SND_PickChannel (int entnum, int entchannel)
&& channels[ch_idx].sfx) && channels[ch_idx].sfx)
continue; continue;
if (channels[ch_idx].end < paintedtime) { if (paintedtime + life_left > channels[ch_idx].end) {
first_to_die = ch_idx;
break;
}
if (channels[ch_idx].end - paintedtime < life_left) {
life_left = channels[ch_idx].end - paintedtime; life_left = channels[ch_idx].end - paintedtime;
first_to_die = ch_idx; first_to_die = ch_idx;
} }