From 499d99a6f98241af2f8f4e7b4b9a3c7dddfbe7c9 Mon Sep 17 00:00:00 2001 From: meag Date: Fri, 25 Jun 2021 20:23:46 +0100 Subject: [PATCH] IND PHYSICS: fps shouldn't affect yawspeed If independent physics enabled, use physframetime instead to scale by 1/77fps, as this is only called when sending packet to server Reported by veganaize in #550 --- cl_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_input.c b/cl_input.c index e586b9789..d1a05567d 100644 --- a/cl_input.c +++ b/cl_input.c @@ -793,7 +793,7 @@ void CL_AdjustAngles(void) { float basespeed, speed, up, down, frametime; - frametime = cls.trueframetime; + frametime = (cl_independentPhysics.value == 0 ? cls.trueframetime : physframetime); if (Movie_IsCapturing()) { frametime = Movie_InputFrametime(); }