diff options
author | rubidium <rubidium@openttd.org> | 2008-12-22 18:40:57 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-12-22 18:40:57 +0000 |
commit | d146b48063d3c20c78703ef615979cf2a984b761 (patch) | |
tree | 68a45cb9d1b5a0a6ab29d8cdecc736cd6dbae7ea /src/network/network.cpp | |
parent | c3939135638ac957661a94300076923318192013 (diff) | |
download | openttd-d146b48063d3c20c78703ef615979cf2a984b761.tar.xz |
(svn r14712) -Codechange: split server and client side w.r.t. the storage of network related company information.
Diffstat (limited to 'src/network/network.cpp')
-rw-r--r-- | src/network/network.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp index 44fd28b0b..92b002ff6 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -50,8 +50,8 @@ bool _network_available; ///< is network mode available? bool _network_dedicated; ///< are we a dedicated server? bool _is_network_server; ///< Does this client wants to be a network-server? NetworkServerGameInfo _network_game_info; -NetworkCompanyInfo _network_company_info[MAX_COMPANIES]; NetworkClientInfo _network_client_info[MAX_CLIENT_INFO]; +NetworkCompanyState _network_company_states[MAX_COMPANIES]; ClientID _network_own_client_id; ClientID _redirect_console_to_client; bool _network_need_advertise; @@ -691,7 +691,7 @@ static void NetworkInitialize() // Clean the client_info memory memset(&_network_client_info, 0, sizeof(_network_client_info)); - memset(&_network_company_info, 0, sizeof(_network_company_info)); + memset(&_network_company_states, 0, sizeof(_network_company_states)); _sync_frame = 0; _network_first_time = true; |