mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-22 20:02:09 +00:00
Cleaned CL_Connect_f; re-enabled svc_disconnect parsing.
This commit is contained in:
parent
b6c5eb66bc
commit
2138262099
1 changed files with 2 additions and 6 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue