diff options
author | glx <glx@openttd.org> | 2019-02-04 18:06:19 +0100 |
---|---|---|
committer | glx22 <glx22@users.noreply.github.com> | 2019-02-04 21:08:36 +0100 |
commit | 8e7fe3973fc03561c828594ce3293c1ab3c15481 (patch) | |
tree | 14aece330e30ec3188f1f77f0ba0b138a8a86117 /src/economy.cpp | |
parent | 33e3f4916173b4129cbbe60f94dae659a70edb83 (diff) | |
download | openttd-8e7fe3973fc03561c828594ce3293c1ab3c15481.tar.xz |
Add: CompanyCtrlAction enum for CMD_COMPANY_CTRL actions
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 6d3c2a8b2..97283ae44 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -642,7 +642,7 @@ static void CompanyCheckBankrupt(Company *c) * that changing the current company is okay. In case of single * player we are sure (the above check) that we are not the local * company and thus we won't be moved. */ - if (!_networking || _network_server) DoCommandP(0, 2 | (c->index << 16), CRR_BANKRUPT, CMD_COMPANY_CTRL); + if (!_networking || _network_server) DoCommandP(0, CCA_DELETE | (c->index << 16), CRR_BANKRUPT, CMD_COMPANY_CTRL); break; } } |