]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
added r_renderview cvar (similar to scr_refresh but disables only 3D
[xonotic/darkplaces.git] / cl_input.c
index 311edf0bc25b9e4bba33c3900451ec47e11421f7..aae1f635c9ab138e9aed00fa7841051c37bb5b9e 100644 (file)
@@ -1702,7 +1702,7 @@ void CL_SendMove(void)
                return;
        // always send if buttons changed or an impulse is pending
        // even if it violates the rate limit!
-       important = !cl.cmd.impulse && (!cl_netimmediatebuttons.integer || cl.cmd.buttons == cl.movecmd[1].buttons);
+       important = (cl.cmd.impulse || (cl_netimmediatebuttons.integer && cl.cmd.buttons != cl.movecmd[1].buttons));
        // don't send too often (cl_netfps)
        if (!important && realtime < cl.lastpackettime + packettime)
                return;