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/economy.cpp | |
parent | 07385c36623ede05fbc4ac49076e1a26e349d731 (diff) | |
download | openttd-6b8ad5a9b199ab83498e5f6a96e0d70eacf455a4.tar.xz |
Change: Apply some consistency to singleplayer related comments
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index d5c7797d5..716446ba9 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -289,7 +289,7 @@ void ChangeOwnershipOfCompanyItems(Owner old_owner, Owner new_owner) if (_networking) NetworkClientsToSpectators(old_owner); if (old_owner == _local_company) { /* Single player cheated to AI company. - * There are no spectators in single player, so we must pick some other company. */ + * There are no spectators in singleplayer mode, so we must pick some other company. */ assert(!_networking); Backup<CompanyID> cur_company2(_current_company, FILE_LINE); for (const Company *c : Company::Iterate()) { @@ -605,7 +605,7 @@ static void CompanyCheckBankrupt(Company *c) default: case 10: { if (!_networking && _local_company == c->index) { - /* If we are in offline mode, leave the company playing. Eg. there + /* If we are in singleplayer mode, leave the company playing. Eg. there * is no THE-END, otherwise mark the client as spectator to make sure * he/she is no long in control of this company. However... when you * join another company (cheat) the "unowned" company can bankrupt. */ @@ -2114,7 +2114,7 @@ CommandCost CmdBuyCompany(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 /* Disable takeovers when not asked */ if (!HasBit(c->bankrupt_asked, _current_company)) return CMD_ERROR; - /* Disable taking over the local company in single player */ + /* Disable taking over the local company in singleplayer mode */ if (!_networking && _local_company == c->index) return CMD_ERROR; /* Do not allow companies to take over themselves */ |