mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
fix a seg caused by my changes from last night
This commit is contained in:
parent
014785a9f2
commit
74d3499f74
2 changed files with 4 additions and 2 deletions
|
@ -67,6 +67,7 @@ R_ClearParticles (void)
|
|||
|
||||
for (i = 0; i < r_maxparticles; i++)
|
||||
particles[i].next = &particles[i + 1];
|
||||
if (r_maxparticles)
|
||||
particles[r_maxparticles - 1].next = NULL;
|
||||
}
|
||||
|
||||
|
|
|
@ -67,6 +67,7 @@ R_ClearParticles (void)
|
|||
|
||||
for (i = 0; i < r_maxparticles; i++)
|
||||
particles[i].next = &particles[i + 1];
|
||||
if (r_maxparticles)
|
||||
particles[r_maxparticles - 1].next = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue