]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
v_contrastboost, and support for the color control functions to fill the gamma table...
[xonotic/darkplaces.git] / host_cmd.c
index 17e30e8510df8d4fa1c7672b5549ac7438dca7ed..011cea07c1bf081164dff29e1c7e6250901ec822 100644 (file)
@@ -2349,6 +2349,8 @@ void Host_Packet_f (void) // credit: taken from QuakeWorld
        }
 
        mysocket = NetConn_ChooseClientSocketForAddress(&address);
+       if (!mysocket)
+               mysocket = NetConn_ChooseServerSocketForAddress(&address);
        if (mysocket)
                NetConn_Write(mysocket, send, out - send, &address);
 }
@@ -2520,3 +2522,6 @@ void Host_InitCommands (void)
        Cvar_RegisterVariable(&sv_adminnick);
 }
 
+void Host_NoOperation_f(void)
+{
+}