From: divverent Date: Fri, 3 Jan 2014 08:26:05 +0000 (+0000) Subject: Unbreak most of sv_ratelimitlocalplayer. X-Git-Tag: xonotic-v0.8.0~103 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9a2f4e8c140673e8198fd3d3269933c5dcd3518e;p=xonotic%2Fdarkplaces.git Unbreak most of sv_ratelimitlocalplayer. A redesign to move the rate stuff from function parameters into the netconn struct needs doing. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12034 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=f022ab3a2e0a13bac6afd113840a7947518b4805 --- diff --git a/netconn.c b/netconn.c index 32112da9..707197b4 100755 --- a/netconn.c +++ b/netconn.c @@ -930,7 +930,7 @@ int NetConn_SendUnreliableMessage(netconn_t *conn, sizebuf_t *data, protocolvers } } - NetConn_UpdateCleartime(&conn->cleartime, cl_rate.integer, cl_rate_burstsize.integer, totallen); + NetConn_UpdateCleartime(&conn->cleartime, rate, burstsize, totallen); return 0; }