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~96^2~6 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=f022ab3a2e0a13bac6afd113840a7947518b4805 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 --- 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; }