]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
disable some debugging code that caused an empty packet to be sent each
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 16 Apr 2007 13:36:31 +0000 (13:36 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 16 Apr 2007 13:36:31 +0000 (13:36 +0000)
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

sv_main.c

index 2fdbee46d2b25a4d545784d7ba42f7e4c0003d01..e3c71e66cfd73779e9043a3e9d9fd68916e5760f 100644 (file)
--- 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)