From: havoc Date: Tue, 6 Feb 2007 08:36:14 +0000 (+0000) Subject: tolerate clients living up to one frame in the future, just to be more flexible with... X-Git-Tag: xonotic-v0.1.0preview~3613 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a4ebec927b344b03234fbdeefd10e2b68ffb032e;p=xonotic%2Fdarkplaces.git 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 --- 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++)