From 3bb5481637957af8255ff4aca77489cb740e41ed Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 3 Jan 2014 09:25:30 +0100 Subject: [PATCH] Unbreak most of sv_ratelimitlocalplayer. A redesign to move the rate stuff from function parameters into the netconn struct needs doing. --- 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