]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
damn, THIS fix wasn't need - the demo reading fix already did that
[xonotic/darkplaces.git] / cl_input.c
index 214f3115e0bf87b28f5a69c52c235bb3c84cb916..57de662cca70b4ca7b3319a9d385852bd59f7a7d 100644 (file)
@@ -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)