]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
Eradicated the CVAR_NQUSERINFOHACK flag, for good
[xonotic/darkplaces.git] / cl_input.c
index 774563509632e20cd07862429bb51fd50edb17b5..c940395ae2fb957762ed28847d97acc3b63dd8b4 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), cl_rate.integer), cl_rate_burstsize.integer, false);
+               NetConn_SendUnreliableMessage(cls.netcon, &buf, cls.protocol, max(20*(buf.cursize+40), rate.integer), rate_burstsize.integer, false);
 
        if (quemove)
        {
@@ -2152,7 +2152,7 @@ void CL_SendMove(void)
                Con_Print("CL_SendMove: lost server connection\n");
                CL_Disconnect();
                SV_LockThreadMutex();
-               Host_ShutdownServer();
+               SV_Shutdown();
                SV_UnlockThreadMutex();
        }
 }