Argh...looks like I fucked it up. All fixed.

This commit is contained in:
Jeff Teunissen 2000-06-28 15:37:16 +00:00
parent 686a09b81f
commit b41f21f7eb

View file

@ -482,13 +482,16 @@ void R_DrawParticles (void)
grav = frametime * 800 * 0.05; grav = frametime * 800 * 0.05;
dvel = 4*frametime; dvel = 4*frametime;
for (kill = active_particles; kill != NULL; kill = kill->next) { while (1) {
if (kill->die < cl.time) { kill = active_particles;
active_particles = kill->next; if (kill != NULL && kill->die < cl.time) {
kill->next = free_particles; active_particles = kill->next;
free_particles = kill; kill->next = free_particles;
} free_particles = kill;
} continue;
}
break;
}
for (p=active_particles ; p ; p=p->next) for (p=active_particles ; p ; p=p->next)
{ {