]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
don't overflow 1024 byte buffer on quake protocol, this often happens
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 16 Jun 2007 02:45:43 +0000 (02:45 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 16 Jun 2007 02:45:43 +0000 (02:45 +0000)
when bubbles rise from a dying player in e1m4 deathmatch

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7431 d7cf8633-e32d-0410-b094-e92efae38249

sv_main.c

index 0a11c0b6d279c784a8f2b48291ee39df8bd7df5d..3d8ab6d52ffae45fc59fbb22aa0eaace0826b5be 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -1593,8 +1593,8 @@ static void SV_SendClientDatagram (client_t *client)
                // the client off if they overflow, and quake protocol shows less than
                // the full entity set if rate limited
                clientrate = max(NET_MINRATE, client->rate);
-               maxsize = 1400;
-               maxsize2 = 1400;
+               maxsize = 1024;
+               maxsize2 = 1024;
        }
        else
        {