summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-12-22 18:40:57 +0000
committerrubidium <rubidium@openttd.org>2008-12-22 18:40:57 +0000
commitabc903d62539333ea5039ed152de07f174617a84 (patch)
tree68a45cb9d1b5a0a6ab29d8cdecc736cd6dbae7ea /src/company_cmd.cpp
parente6e32bad4d160c67f1c589edd25af423529845c2 (diff)
downloadopenttd-abc903d62539333ea5039ed152de07f174617a84.tar.xz
(svn r14712) -Codechange: split server and client side w.r.t. the storage of network related company information.
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r--src/company_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index 463f0194c..fd56806b6 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -863,7 +863,7 @@ CommandCost CmdCompanyCtrl(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
if (IsValidCompanyID(ci->client_playas)) {
CompanyID company_backup = _local_company;
- _network_company_info[c->index].months_empty = 0;
+ _network_company_states[c->index].months_empty = 0;
/* XXX - When a client joins, we automatically set its name to the
* client's name (for some reason). As it stands now only the server