From: Rudolf Polzer <divverent@xonotic.org>
Date: Fri, 3 Jan 2014 08:25:30 +0000 (+0100)
Subject: Unbreak most of sv_ratelimitlocalplayer.
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3bb5481637957af8255ff4aca77489cb740e41ed;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.
---

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;
 }