From 130870e6a950c8a320b9f97f198f55f6a1654fcb Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 23 Jan 2009 22:35:48 +0000 Subject: (svn r15243) -Fix [FS#2446]: rejoining a server would abort the join (and kick the client) because trying to join with an invalid player ID --- src/openttd.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/openttd.cpp b/src/openttd.cpp index 1150cabfa..101c7316c 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -1219,6 +1219,7 @@ void GameLoop() if (_network_reconnect > 0 && --_network_reconnect == 0) { /* This means that we want to reconnect to the last host * We do this here, because it means that the network is really closed */ + _network_playas = COMPANY_SPECTATOR; NetworkClientConnectGame(NetworkAddress(_settings_client.network.last_host, _settings_client.network.last_port)); } /* Singleplayer */ -- cgit v1.2.3-54-g00ecf