From: havoc Date: Thu, 26 Jun 2008 02:38:33 +0000 (+0000) Subject: always send a packet when an impulse is used, regardless of the X-Git-Tag: xonotic-v0.1.0preview~2198 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e80fe5d93e8f430d442c4f2fc27ccc4befe54ea1;p=xonotic%2Fdarkplaces.git always send a packet when an impulse is used, regardless of the cl_netimmediatebuttons cvar git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8377 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_input.c b/cl_input.c index 214f3115..57de662c 100644 --- a/cl_input.c +++ b/cl_input.c @@ -1413,7 +1413,7 @@ void CL_SendMove(void) packettime = 0; // always send if buttons changed or an impulse is pending // even if it violates the rate limit! - if (!cl_netimmediatebuttons.integer || (cl.movecmd[0].buttons == cl.movecmd[1].buttons && !cl.movecmd[0].impulse)) + if (!cl.movecmd[0].impulse && (!cl_netimmediatebuttons.integer || cl.movecmd[0].buttons == cl.movecmd[1].buttons)) { // don't choke the connection with packets (obey rate limit) if ((cls.protocol == PROTOCOL_QUAKEWORLD || cls.signon == SIGNONS) && !NetConn_CanSend(cls.netcon) && !cl.islocalgame)