diff options
author | rubidium <rubidium@openttd.org> | 2010-08-18 17:23:03 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-18 17:23:03 +0000 |
commit | 84de237507806b7fc2705d50e8e3f7e559c79fb9 (patch) | |
tree | f0f2169ca7ff010ddacdaee8c035722dd6da0639 /src/company_cmd.cpp | |
parent | 69fa0b36d3bb043858621ac0b32d451674ed2719 (diff) | |
download | openttd-84de237507806b7fc2705d50e8e3f7e559c79fb9.tar.xz |
(svn r20543) -Fix (r20542): compilation failed when networking was disabled
Diffstat (limited to 'src/company_cmd.cpp')
-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 b21d32279..2e0917d50 100644 --- a/src/company_cmd.cpp +++ b/src/company_cmd.cpp @@ -758,7 +758,9 @@ CommandCost CmdCompanyCtrl(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3 { InvalidateWindowData(WC_COMPANY_LEAGUE, 0, 0); CompanyID company_id = (CompanyID)GB(p1, 16, 8); +#ifdef ENABLE_NETWORK ClientID client_id = (ClientID)p2; +#endif /* ENABLE_NETWORK */ switch (GB(p1, 0, 16)) { case 0: { // Create a new company |