From: havoc Date: Mon, 16 Apr 2007 13:36:31 +0000 (+0000) Subject: disable some debugging code that caused an empty packet to be sent each X-Git-Tag: xonotic-v0.1.0preview~3321 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0d5c60506ca1986553db0e5e449fa0d4492d6208;p=xonotic%2Fdarkplaces.git disable some debugging code that caused an empty packet to be sent each server frame even if CanSend returned false (which was done just to see when the CanSend blocking was occurring, since it was hard to tell) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7109 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index 2fdbee46..e3c71e66 100644 --- a/sv_main.c +++ b/sv_main.c @@ -1411,7 +1411,7 @@ void SV_SendClientDatagram (client_t *client) if (!NetConn_CanSend(client->netconnection)) { // send the datagram - NetConn_SendUnreliableMessage (client->netconnection, &msg, sv.protocol, clientrate); + //NetConn_SendUnreliableMessage (client->netconnection, &msg, sv.protocol, clientrate); return; } else if (host_client->spawned)