From 8c4ef5200cf15b2283e5e090fcbcbddc9bfe2b0f Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 16 Oct 2025 00:00:21 +0500 Subject: [PATCH] engine: client: drop unknown interpolation hack, that might've caused hiccups when prediction fails --- engine/client/cl_pmove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_pmove.c b/engine/client/cl_pmove.c index 0fd14ad7..e3829062 100644 --- a/engine/client/cl_pmove.c +++ b/engine/client/cl_pmove.c @@ -1098,7 +1098,7 @@ void CL_PredictMovement( qboolean repredicting ) // now interpolate some fraction of the final frame if( to_cmd->senttime != from_cmd->senttime ) - f = bound( 0.0, (host.realtime - from_cmd->senttime) / (to_cmd->senttime - from_cmd->senttime) * 0.1, 1.0 ); + f = bound( 0.0, ( host.realtime - from_cmd->senttime ) / ( to_cmd->senttime - from_cmd->senttime ), 1.0 ); else f = 0.0; if( CL_PlayerTeleported( from, to ))