summaryrefslogtreecommitdiff
path: root/network.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-12 13:46:10 +0000
committertruelight <truelight@openttd.org>2004-12-12 13:46:10 +0000
commita501e896241e119b0a1d9b3e50e8ce787f8e556b (patch)
tree4cd6dd0a1d8dfaa43f0188eed4d47202bf8a639d /network.c
parentea8af470490c57a528fe52b6113b96c7078c0787 (diff)
downloadopenttd-a501e896241e119b0a1d9b3e50e8ce787f8e556b.tar.xz
(svn r1022) -Fix: [Network] [ 1083690 ] The password dialog made the network
disconnect without cleaning up.
Diffstat (limited to 'network.c')
-rw-r--r--network.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/network.c b/network.c
index 07c352d26..baa1c955d 100644
--- a/network.c
+++ b/network.c
@@ -896,6 +896,8 @@ void NetworkDisconnect(void)
}
}
+ DeleteWindowById(WC_NETWORK_STATUS_WINDOW, 0);
+
NetworkClose();
// Free all queued commands