mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
more triage :P
This commit is contained in:
parent
87025a4598
commit
772b8d5961
1 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue