From 0eb36dc61506a11e8d90a7ea7722bb029d6fc724 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Mon, 29 Mar 2021 20:55:13 +0000 Subject: [PATCH] sv_user: Use sv.time directly, to limit reported time to current time From bones_was_here git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13103 d7cf8633-e32d-0410-b094-e92efae38249 --- sv_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sv_user.c b/sv_user.c index f3115088..9395be62 100644 --- a/sv_user.c +++ b/sv_user.c @@ -663,7 +663,7 @@ static void SV_ReadClientMove (void) #endif // limit reported time to current time // (incase the client is trying to cheat) - move->time = min(move->time, move->receivetime + sv.frametime); + move->time = min(move->time, sv.time + sv.frametime); // read current angles for (i = 0;i < 3;i++) -- 2.39.2