(svn r26578) -Fix (r26576): network compilation got broken

This commit is contained in:
rubidium 2014-05-11 13:17:21 +00:00
parent e64249446d
commit 7215b6a3d3
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}