diff options
author | Andrey Nazarov <skuller@skuller.net> | 2007-10-06 21:20:38 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2007-10-06 21:20:38 +0000 |
commit | 8c81e98c2ae39b84efda70df9eb30a6d8a7a45be (patch) | |
tree | 487f48ffe999aa70ca6d64d720618662793627f3 /source/cl_main.c | |
parent | 55fed75b9137922047e6e4cf836a3e230f01c610 (diff) |
Fixed sv_force_reconnect not working with R1Q2 clients.
Manully issuing 'reconnect' at client console in-game
does what it really should.
Diffstat (limited to 'source/cl_main.c')
-rw-r--r-- | source/cl_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/cl_main.c b/source/cl_main.c index d8f8c3f..b527aca 100644 --- a/source/cl_main.c +++ b/source/cl_main.c @@ -1006,6 +1006,9 @@ The server is changing levels ================= */ void CL_Reconnect_f( void ) { + if( cls.state >= ca_precached ) { + CL_Disconnect( ERR_SILENT, NULL ); + } if( cls.state >= ca_connected ) { cls.state = ca_connected; @@ -1022,6 +1025,7 @@ void CL_Reconnect_f( void ) { return; } + // issued manually at console if( cls.serverAddress.type == NA_BAD ) { Com_Printf( "No server to reconnect to.\n" ); return; |