|
|
@ -1681,6 +1681,8 @@ void CL_Reconnect_f( void ) |
|
|
|
|
|
|
|
|
|
|
|
if( COM_CheckString( cls.servername )) |
|
|
|
if( COM_CheckString( cls.servername )) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
qboolean legacy = cls.legacymode; |
|
|
|
|
|
|
|
|
|
|
|
if( cls.state >= ca_connected ) |
|
|
|
if( cls.state >= ca_connected ) |
|
|
|
CL_Disconnect(); |
|
|
|
CL_Disconnect(); |
|
|
|
|
|
|
|
|
|
|
@ -1688,6 +1690,7 @@ void CL_Reconnect_f( void ) |
|
|
|
cls.demonum = cls.movienum = -1; // not in the demo loop now
|
|
|
|
cls.demonum = cls.movienum = -1; // not in the demo loop now
|
|
|
|
cls.state = ca_connecting; |
|
|
|
cls.state = ca_connecting; |
|
|
|
cls.signon = 0; |
|
|
|
cls.signon = 0; |
|
|
|
|
|
|
|
cls.legacymode = legacy; // don't change protocol
|
|
|
|
|
|
|
|
|
|
|
|
Con_Printf( "reconnecting...\n" ); |
|
|
|
Con_Printf( "reconnecting...\n" ); |
|
|
|
} |
|
|
|
} |
|
|
|