mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 12:11:34 +00:00
Argh...looks like I fucked it up. All fixed.
This commit is contained in:
parent
686a09b81f
commit
b41f21f7eb
1 changed files with 10 additions and 7 deletions
|
@ -482,12 +482,15 @@ void R_DrawParticles (void)
|
|||
grav = frametime * 800 * 0.05;
|
||||
dvel = 4*frametime;
|
||||
|
||||
for (kill = active_particles; kill != NULL; kill = kill->next) {
|
||||
if (kill->die < cl.time) {
|
||||
while (1) {
|
||||
kill = active_particles;
|
||||
if (kill != NULL && kill->die < cl.time) {
|
||||
active_particles = kill->next;
|
||||
kill->next = free_particles;
|
||||
free_particles = kill;
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
for (p=active_particles ; p ; p=p->next)
|
||||
|
|
Loading…
Reference in a new issue