From d4d39c66fb142fd008d534e5be8ae857412fbfbd Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 24 Feb 2022 02:49:10 +0300 Subject: [PATCH] engine: client: fix double call to CL_ParametricMove --- engine/client/cl_frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_frame.c b/engine/client/cl_frame.c index 3c963e9c..eb4addb6 100644 --- a/engine/client/cl_frame.c +++ b/engine/client/cl_frame.c @@ -310,7 +310,7 @@ void CL_ProcessEntityUpdate( cl_entity_t *ent ) if( FBitSet( ent->curstate.entityType, ENTITY_NORMAL )) COM_NormalizeAngles( ent->curstate.angles ); - parametric = CL_ParametricMove( ent ); + parametric = ent->curstate.starttime != 0.0f && ent->curstate.impacttime != 0.0f; // allow interpolation on bmodels too if( ent->model && ent->model->type == mod_brush )