From: divverent Date: Tue, 15 Sep 2009 05:57:37 +0000 (+0000) Subject: also check ticrate movevar X-Git-Tag: xonotic-v0.1.0preview~1435 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=31fcbe71d130244af63a3519a7f2ce77f9e6d879 also check ticrate movevar git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9197 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_input.c b/cl_input.c index e58dad4b..522eeee8 100644 --- a/cl_input.c +++ b/cl_input.c @@ -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!