From 9a2f4e8c140673e8198fd3d3269933c5dcd3518e Mon Sep 17 00:00:00 2001 From: divverent Date: Fri, 3 Jan 2014 08:26:05 +0000 Subject: [PATCH] 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 --- netconn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2