diff options
author | rubidium <rubidium@openttd.org> | 2014-05-11 13:17:21 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-05-11 13:17:21 +0000 |
commit | 7215b6a3d3b77a2b02fffd11aedf35d59aa5f7f9 (patch) | |
tree | f8ea59c05acf4e3a196b84afd37714bca32e5c48 /src | |
parent | e64249446d2792c2d681f37e10a5a5a26d7151b2 (diff) | |
download | openttd-7215b6a3d3b77a2b02fffd11aedf35d59aa5f7f9.tar.xz |
(svn r26578) -Fix (r26576): network compilation got broken
Diffstat (limited to 'src')
-rw-r--r-- | src/company_cmd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp index d094836ed..3dfcc3234 100644 --- a/src/company_cmd.cpp +++ b/src/company_cmd.cpp @@ -865,7 +865,9 @@ CommandCost CmdCompanyCtrl(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3 if (company_id != INVALID_COMPANY && (company_id >= MAX_COMPANIES || Company::IsValidID(company_id))) return CMD_ERROR; Company *c = DoStartupNewCompany(true, company_id); +#ifdef ENABLE_NETWORK if (c != NULL) NetworkServerNewCompany(c, NULL); +#endif /* ENABLE_NETWORK */ break; } |