summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-09-22 21:14:31 +0000
committerrubidium <rubidium@openttd.org>2009-09-22 21:14:31 +0000
commitb3c5c8cadb60deb3cdce98e856d587cb08f22265 (patch)
treeb399d016a5aa132eb3ea36d07870f945f1c05c2a
parent7d24e84a81402e2469f798f0e5aace523b12f858 (diff)
downloadopenttd-b3c5c8cadb60deb3cdce98e856d587cb08f22265.tar.xz
(svn r17618) -Fix [FS#3226]: the 'lock' icon would erroneously be drawn for companies if the company had a password before the reset
-rw-r--r--src/network/network.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp
index 70bfb1678..5622be20c 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -798,6 +798,7 @@ bool NetworkServerStart()
_network_own_client_id = CLIENT_ID_SERVER;
_network_clients_connected = 0;
+ _network_company_passworded = 0;
NetworkInitGameInfo();