From a29f1899d3f4d75120b390d50cb3c6bc521a44a3 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 3 Jan 2024 19:06:41 +0300 Subject: [PATCH] engine: client: remove unused extrapolate variable in CL_PureOrigin --- engine/client/cl_frame.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/client/cl_frame.c b/engine/client/cl_frame.c index 0adccfe9..b3bcd043 100644 --- a/engine/client/cl_frame.c +++ b/engine/client/cl_frame.c @@ -408,13 +408,12 @@ non-local players interpolation */ static void CL_PureOrigin( cl_entity_t *ent, double t, vec3_t outorigin, vec3_t outangles ) { - qboolean extrapolate; double t1, t0, frac; position_history_t *ph0, *ph1; vec3_t delta; // NOTE: ph0 is next, ph1 is a prev - extrapolate = CL_FindInterpolationUpdates( ent, t, &ph0, &ph1 ); + CL_FindInterpolationUpdates( ent, t, &ph0, &ph1 ); if ( !ph0 || !ph1 ) return;