mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
sw currently can't cope with 0 particles
This commit is contained in:
parent
f896506835
commit
f5c168b8a5
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ void
|
|||
R_InitParticles (void)
|
||||
{
|
||||
// Misty-chan: Chooses cvar if bigger than zero, otherwise ignore and set variable to zero. Deek showed this to me.
|
||||
r_numparticles = max(cl_max_particles->int_val, 0);
|
||||
r_numparticles = max(cl_max_particles->int_val, 1);
|
||||
|
||||
particles = (particle_t *)
|
||||
Hunk_AllocName (r_numparticles * sizeof (particle_t), "particles");
|
||||
|
|
Loading…
Reference in a new issue