From a883f7555c99cbe9ebba8d8f5963a9394d3d5805 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 19 May 2020 18:25:18 +1000 Subject: [PATCH] Adjust maximum allowed cl_netfps setting to 125 to match frame timing standards --- cl_input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl_input.c b/cl_input.c index fd3b157e..4feca935 100644 --- a/cl_input.c +++ b/cl_input.c @@ -1517,7 +1517,7 @@ void CL_UpdateMoveVars(void) else { cl.moveflags = 0; - cl.movevars_ticrate = (cls.demoplayback ? 1.0f : slowmo.value) / bound(30.0f, cl_netfps.value, 120.0f); + cl.movevars_ticrate = (cls.demoplayback ? 1.0f : slowmo.value) / bound(30.0f, cl_netfps.value, 125.0f); cl.movevars_timescale = (cls.demoplayback ? 1.0f : slowmo.value); cl.movevars_gravity = sv_gravity.value; cl.movevars_stopspeed = cl_movement_stopspeed.value; @@ -1878,7 +1878,7 @@ void CL_SendMove(void) // don't send too often or else network connections can get clogged by a // high renderer framerate - packettime = 1.0 / bound(30, cl_netfps.value, 120); + packettime = 1.0 / bound(30, cl_netfps.value, 125); if (cl.movevars_timescale && cl.movevars_ticrate) { float maxtic = cl.movevars_ticrate / cl.movevars_timescale; -- 2.39.2