summaryrefslogtreecommitdiff
path: root/src/network/network_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-12-22 20:42:02 +0000
committerrubidium <rubidium@openttd.org>2008-12-22 20:42:02 +0000
commita68766744802ea1c895e9b09f04f966bf71581fa (patch)
tree65572044428ef2134ee1a2265236f37d4b7e5c02 /src/network/network_func.h
parent4511739377b6d6c64ca88bcb06489bf29f356253 (diff)
downloadopenttd-a68766744802ea1c895e9b09f04f966bf71581fa.tar.xz
(svn r14714) -Codechange: only allocate the company network "state" variables (password/months not used) when needed, i.e. only for servers.
Diffstat (limited to 'src/network/network_func.h')
-rw-r--r--src/network/network_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_func.h b/src/network/network_func.h
index 0640c8a41..c4c0cd6be 100644
--- a/src/network/network_func.h
+++ b/src/network/network_func.h
@@ -12,7 +12,7 @@
extern NetworkServerGameInfo _network_game_info;
extern NetworkClientInfo _network_client_info[MAX_CLIENT_INFO];
-extern NetworkCompanyState _network_company_states[MAX_COMPANIES];
+extern NetworkCompanyState *_network_company_states;
extern ClientID _network_own_client_id;
extern ClientID _redirect_console_to_client;