Cleaned CL_Connect_f; re-enabled svc_disconnect parsing.

This commit is contained in:
Anton E. Gavrilov 2000-04-01 17:42:17 +00:00
parent b6c5eb66bc
commit 2138262099

View file

@ -370,10 +370,6 @@ void CL_Connect_f (void)
{ {
char *server; char *server;
Con_Printf("Cmd_Argc(): %d\n", Cmd_Argc());
Con_Printf("Args: ");
Cmd_Echo_f();
if (Cmd_Argc() != 2) { if (Cmd_Argc() != 2) {
Con_Printf ("usage: connect <server>\n"); Con_Printf ("usage: connect <server>\n");
return; return;
@ -512,9 +508,9 @@ void CL_ConnectionlessPacket (void)
return; return;
} }
#if 0 #if 1 // Tonik: in qwcl 2.33+, Zoid commented this out. Why?
if (c == svc_disconnect) { if (c == svc_disconnect) {
Con_Printf ("disconnect\n"); //Tonik Con_Printf ("disconnect\n");
Host_EndGame ("Server disconnected"); Host_EndGame ("Server disconnected");
return; return;