]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
don't overflow 1024 byte buffer on quake protocol, this often happens
[xonotic/darkplaces.git] / 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
        {