Browse Source

engine: client: efx: remove unused CL_FreeParticle

pull/2/head
Alibek Omarov 2 years ago
parent
commit
d7848b7b8d
  1. 20
      engine/client/cl_efx.c

20
engine/client/cl_efx.c

@ -140,26 +140,6 @@ void CL_FreeParticles( void ) @@ -140,26 +140,6 @@ void CL_FreeParticles( void )
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

Loading…
Cancel
Save