]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
also check ticrate movevar
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 15 Sep 2009 05:57:37 +0000 (05:57 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 15 Sep 2009 05:57:37 +0000 (05:57 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9197 d7cf8633-e32d-0410-b094-e92efae38249

cl_input.c

index e58dad4b1b90bacb046cf3219f569aa78a7ad4fc..522eeee823a4c7d8abac70f6f453e4cae1feda48 100644 (file)
@@ -1681,7 +1681,7 @@ void CL_SendMove(void)
                packettime = 0;
 
        // do not send if we do not have anything useful to send
-       if(msecdelta <= 0 && cls.signon == SIGNONS && !cl.paused)
+       if(msecdelta <= 0 && cls.signon == SIGNONS && !cl.paused && cl.movevars_ticrate > 0)
                return;
        // always send if buttons changed or an impulse is pending
        // even if it violates the rate limit!