From: cloudwalk Date: Mon, 29 Mar 2021 20:55:13 +0000 (+0000) Subject: sv_user: Use sv.time directly, to limit reported time to current time X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0eb36dc61506a11e8d90a7ea7722bb029d6fc724;p=xonotic%2Fdarkplaces.git 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 --- 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++)