engine: client: efx: remove unused CL_FreeParticle
This commit is contained in:
parent
9cdce1ce69
commit
d7848b7b8d
1 changed files with 0 additions and 20 deletions
|
@ -140,26 +140,6 @@ void CL_FreeParticles( void )
|
||||||
cl_particles = NULL;
|
cl_particles = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
================
|
|
||||||
CL_FreeParticle
|
|
||||||
|
|
||||||
move particle to freelist
|
|
||||||
================
|
|
||||||
*/
|
|
||||||
void CL_FreeParticle( particle_t *p )
|
|
||||||
{
|
|
||||||
if( p->deathfunc )
|
|
||||||
{
|
|
||||||
// call right the deathfunc before die
|
|
||||||
p->deathfunc( p );
|
|
||||||
p->deathfunc = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
p->next = cl_free_particles;
|
|
||||||
cl_free_particles = p;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
================
|
================
|
||||||
CL_AllocParticleFast
|
CL_AllocParticleFast
|
||||||
|
|
Loading…
Add table
Reference in a new issue