From e80fe5d93e8f430d442c4f2fc27ccc4befe54ea1 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 26 Jun 2008 02:38:33 +0000 Subject: [PATCH] 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 --- cl_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2