summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-16 11:09:00 +0000
committertruelight <truelight@openttd.org>2004-12-16 11:09:00 +0000
commitc5770907ac04806d8f5632424ccdea2e1b68a1d1 (patch)
tree8682ff3367197fe15b1cb64e6c84a3f2d464c094
parente5a2abb872ff6b2e9b065367148a52725eb0bb01 (diff)
downloadopenttd-c5770907ac04806d8f5632424ccdea2e1b68a1d1.tar.xz
(svn r1125) -Fix: [Network] You can now safely join a company again
-rw-r--r--network_client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/network_client.c b/network_client.c
index c0e69ca5b..649aa1ca4 100644
--- a/network_client.c
+++ b/network_client.c
@@ -506,6 +506,7 @@ DEF_CLIENT_RECEIVE_COMMAND(PACKET_SERVER_MAP)
} else {
// take control over an existing company
_local_player = _network_playas - 1;
+ DeleteWindowById(WC_NETWORK_STATUS_WINDOW, 0);
}
// Remeber the player