From 147bcc2f25866bf1ecaf3d63bcb84e0622580e33 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Mon, 14 Jan 2019 19:48:23 +0100 Subject: [PATCH] Crouch stutter fix with the latest FTE binaries --- Source/Client/Player.c | 5 +++++ Source/Shared/pmove.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Source/Client/Player.c b/Source/Client/Player.c index 9f075c22..22ee1083 100755 --- a/Source/Client/Player.c +++ b/Source/Client/Player.c @@ -240,6 +240,11 @@ void Player_PreUpdate(void) if (flSuccess == FALSE) { continue; } + + if (i==clientcommandframe){ + CSQC_Input_Frame(); + } + // Partial frames are the worst if (input_timelength == 0) { break; diff --git a/Source/Shared/pmove.c b/Source/Shared/pmove.c index b33f5197..acefa89d 100644 --- a/Source/Shared/pmove.c +++ b/Source/Shared/pmove.c @@ -68,7 +68,7 @@ void PMove_Categorize(void) self.maxs = VEC_HULL_MAX; self.view_ofs = VEC_PLAYER_VIEWPOS; } - + tracebox(self.origin, self.mins, self.maxs, self.origin - '0 0 0.25', TRUE, self); if (!trace_startsolid) {