engine: client: drop unknown interpolation hack, that might've caused hiccups when prediction fails

This commit is contained in:
Alibek Omarov
2025-10-16 00:00:21 +05:00
parent a5f7314ec9
commit 8c4ef5200c

View File

@@ -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 ))