From: havoc Date: Thu, 8 Feb 2007 15:13:27 +0000 (+0000) Subject: lowered minimum maxpacketsize from 100 bytes to 50 bytes (this means rate 1000 will... X-Git-Tag: xonotic-v0.1.0preview~3609 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=035c782bfa44f13d2de1e54aa0de519d0719826f;p=xonotic%2Fdarkplaces.git lowered minimum maxpacketsize from 100 bytes to 50 bytes (this means rate 1000 will be honored at the default sys_ticrate 0.05) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6805 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index aaf4163e..c71bee38 100644 --- a/sv_main.c +++ b/sv_main.c @@ -1266,7 +1266,7 @@ void SV_SendClientDatagram (client_t *client) // (but no one should be running that on a server!) rate = bound(NET_MINRATE, client->rate, maxrate); rate = (int)(rate * sys_ticrate.value); - maxsize = bound(100, rate, 1400); + maxsize = bound(50, rate, 1400); maxsize2 = 1400; }