From: divverent Date: Wed, 23 Sep 2009 06:57:31 +0000 (+0000) Subject: only skip input if time is actually increasing (should fix pause) X-Git-Tag: xonotic-v0.1.0preview~1410 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=44878ffc1783c19cedef196d85a79998ce794902;p=xonotic%2Fdarkplaces.git only skip input if time is actually increasing (should fix pause) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9223 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_input.c b/cl_input.c index 99ed2551..abaca837 100644 --- a/cl_input.c +++ b/cl_input.c @@ -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!