mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +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)
|
||||
continue;
|
||||
|
||||
if (channels[ch_idx].end < paintedtime) {
|
||||
first_to_die = ch_idx;
|
||||
break;
|
||||
}
|
||||
|
||||
if (channels[ch_idx].end - paintedtime < life_left) {
|
||||
if (paintedtime + life_left > channels[ch_idx].end) {
|
||||
life_left = channels[ch_idx].end - paintedtime;
|
||||
first_to_die = ch_idx;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue