git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9179
d7cf8633-e32d-0410-b094-
e92efae38249
// send input every frame in singleplayer
if (cl.islocalgame)
packettime = 0;
// send input every frame in singleplayer
if (cl.islocalgame)
packettime = 0;
+
+ // do not send if we do not have anything useful to send
+ if(msecdelta <= 0)
+ return;
// always send if buttons changed or an impulse is pending
// even if it violates the rate limit!
if (!cl.movecmd[0].impulse && (!cl_netimmediatebuttons.integer || cl.movecmd[0].buttons == cl.movecmd[1].buttons))
// always send if buttons changed or an impulse is pending
// even if it violates the rate limit!
if (!cl.movecmd[0].impulse && (!cl_netimmediatebuttons.integer || cl.movecmd[0].buttons == cl.movecmd[1].buttons))