git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9249
d7cf8633-e32d-0410-b094-
e92efae38249
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;