summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
authorglx22 <glx@openttd.org>2021-01-22 16:24:29 +0100
committerLoïc Guilloux <glx22@users.noreply.github.com>2021-01-22 22:19:55 +0100
commit6b8ad5a9b199ab83498e5f6a96e0d70eacf455a4 (patch)
tree5cdc5db2f8ae92acc27029e90a0f1188536011a5 /src/company_cmd.cpp
parent07385c36623ede05fbc4ac49076e1a26e349d731 (diff)
downloadopenttd-6b8ad5a9b199ab83498e5f6a96e0d70eacf455a4.tar.xz
Change: Apply some consistency to singleplayer related comments
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r--src/company_cmd.cpp2
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);