]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
only skip input if time is actually increasing (should fix pause)
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 23 Sep 2009 06:57:31 +0000 (06:57 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 23 Sep 2009 06:57:31 +0000 (06:57 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9223 d7cf8633-e32d-0410-b094-e92efae38249

cl_input.c

index 99ed2551f007c3c121fd9d1831a9d4aca56afdc4..abaca837d912604721f7a14395311124f38f7f8b 100644 (file)
@@ -1700,7 +1700,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 && cl.movevars_ticrate > 0)
+       if(msecdelta <= 0 && (cl.time > cl.oldtime) && cls.signon == SIGNONS && cl.movevars_ticrate > 0)
                return;
        // always send if buttons changed or an impulse is pending
        // even if it violates the rate limit!