]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
Added a "log_file" cvar to control the log file name (default: "" which means no...
[xonotic/darkplaces.git] / cl_input.c
index c3fef756b7f1e9dbed37fd16b39efdee15902466..e3d964d8a357ae61b40a62dda0a10ffbdaafc759 100644 (file)
@@ -77,7 +77,7 @@ void KeyDown (kbutton_t *b)
                b->down[1] = k;
        else
        {
-               Con_Print("Three keys down for a button!\n");
+               Con_Print("Three keys down for a button!\n");
                return;
        }
 
@@ -463,8 +463,9 @@ void CL_SendMove(usercmd_t *cmd)
 
        if (NetConn_SendUnreliableMessage(cls.netcon, &buf) == -1)
        {
-               Con_Printf("CL_SendMove: lost server connection\n");
+               Con_Print("CL_SendMove: lost server connection\n");
                CL_Disconnect();
+               Host_ShutdownServer(false);
        }
 }