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,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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue