diff options
author | glx22 <glx@openttd.org> | 2021-01-22 16:24:29 +0100 |
---|---|---|
committer | Loïc Guilloux <glx22@users.noreply.github.com> | 2021-01-22 22:19:55 +0100 |
commit | 6b8ad5a9b199ab83498e5f6a96e0d70eacf455a4 (patch) | |
tree | 5cdc5db2f8ae92acc27029e90a0f1188536011a5 /src/company_cmd.cpp | |
parent | 07385c36623ede05fbc4ac49076e1a26e349d731 (diff) | |
download | openttd-6b8ad5a9b199ab83498e5f6a96e0d70eacf455a4.tar.xz |
Change: Apply some consistency to singleplayer related comments
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r-- | src/company_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp index b846c53ba..fee312b8d 100644 --- a/src/company_cmd.cpp +++ b/src/company_cmd.cpp @@ -882,7 +882,7 @@ CommandCost CmdCompanyCtrl(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3 CompanyRemoveReason reason = (CompanyRemoveReason)GB(p1, 24, 8); if (reason >= CRR_END) return CMD_ERROR; - /* We can't delete the last existing company in offline mode. */ + /* We can't delete the last existing company in singleplayer mode. */ if (!_networking && Company::GetNumItems() == 1) return CMD_ERROR; Company *c = Company::GetIfValid(company_id); |