From a4ebec927b344b03234fbdeefd10e2b68ffb032e Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 6 Feb 2007 08:36:14 +0000 Subject: [PATCH] tolerate clients living up to one frame in the future, just to be more flexible with client prediction git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6800 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 3611cb59..20f909a0 100644 --- a/sv_user.c +++ b/sv_user.c @@ -461,7 +461,7 @@ qboolean SV_ReadClientMove (void) // limit reported time to current time // (incase the client is trying to cheat) - move->time = min(move->time, move->receivetime); + move->time = min(move->time, move->receivetime + sv.frametime); // read current angles for (i = 0;i < 3;i++) -- 2.39.2