]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
sv_user: Don't detect heavy movement loss right after a map change
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Mar 2021 20:55:12 +0000 (20:55 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Mar 2021 20:55:12 +0000 (20:55 +0000)
From bones_was_here

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13100 d7cf8633-e32d-0410-b094-e92efae38249

sv_user.c

index e3bc231a0ad00132d949627c9bba43f029848483..1e3d581f0c186bd501531e93af826af6a60fcdf0 100644 (file)
--- a/sv_user.c
+++ b/sv_user.c
@@ -738,7 +738,8 @@ static void SV_ReadClientMove (void)
                sv_readmoves[sv_numreadmoves++] = *move;
 
        // movement packet loss tracking
-       if(move->sequence)
+       // bones_was_here: checking begun prevents heavy loss detection right after a map change
+       if(move->sequence && host_client->begun)
        {
                if(move->sequence > host_client->movement_highestsequence_seen)
                {