]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
Add -Wshadow cflag and eliminate its warnings, including with g++
[xonotic/darkplaces.git] / cl_input.c
index c940395ae2fb957762ed28847d97acc3b63dd8b4..8ccd3477dc24cc14c307d4243c624270ceeb3b66 100644 (file)
@@ -2114,7 +2114,7 @@ void CL_SendMove(void)
 
        // send the reliable message (forwarded commands) if there is one
        if (buf.cursize || cls.netcon->message.cursize)
-               NetConn_SendUnreliableMessage(cls.netcon, &buf, cls.protocol, max(20*(buf.cursize+40), rate.integer), rate_burstsize.integer, false);
+               NetConn_SendUnreliableMessage(cls.netcon, &buf, cls.protocol, max(20*(buf.cursize+40), cl_rate.integer), cl_rate_burstsize.integer, false);
 
        if (quemove)
        {