From d7848b7b8d90a246120a566af0f31ccad873cd18 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 3 Apr 2023 04:30:08 +0300 Subject: [PATCH] engine: client: efx: remove unused CL_FreeParticle --- engine/client/cl_efx.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/engine/client/cl_efx.c b/engine/client/cl_efx.c index 6a07dd49..c9dae218 100644 --- a/engine/client/cl_efx.c +++ b/engine/client/cl_efx.c @@ -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