tolerate clients living up to one frame in the future, just to be more flexible with...
[xonotic/darkplaces.git] / sv_user.c
index 3611cb5..20f909a 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++)