From 80ef389080b0efb8fce77775ac09de40a65f617c Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 20 Mar 2007 20:11:17 +0000 Subject: (svn r9378) -Fix [FS#688] (r9038): cancel in password queries reduces amount of players in the network game when they haven't joined the game yet. --- src/network/network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/network/network.cpp b/src/network/network.cpp index 18fb31ec3..2484e2e7a 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -659,7 +659,7 @@ void NetworkCloseClient(NetworkTCPSocketHandler *cs) if (_network_server) { // We just lost one client :( - if (cs->status > STATUS_INACTIVE) _network_game_info.clients_on--; + if (cs->status >= STATUS_AUTH) _network_game_info.clients_on--; _network_clients_connected--; while ((cs + 1) != DEREF_CLIENT(MAX_CLIENTS) && (cs + 1)->sock != INVALID_SOCKET) { -- cgit v1.2.3-70-g09d2