]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
tolerate clients living up to one frame in the future, just to be more flexible with...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 6 Feb 2007 08:36:14 +0000 (08:36 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 6 Feb 2007 08:36:14 +0000 (08:36 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6800 d7cf8633-e32d-0410-b094-e92efae38249

sv_user.c

index 3611cb596d0e1c985572860bc87a0c12b0074d51..20f909a0b2009be7bc2f75d1472f6fd6320980f6 100644 (file)
--- 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++)