summaryrefslogtreecommitdiff
path: root/src/console_cmds.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/console_cmds.cpp
parent07385c36623ede05fbc4ac49076e1a26e349d731 (diff)
downloadopenttd-6b8ad5a9b199ab83498e5f6a96e0d70eacf455a4.tar.xz
Change: Apply some consistency to singleplayer related comments
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r--src/console_cmds.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index f701df034..7dbd5658c 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -147,7 +147,7 @@ DEF_CONSOLE_HOOK(ConHookNeedNetwork)
}
/**
- * Check whether we are in single player mode.
+ * Check whether we are in singleplayer mode.
* @return True when no network is active.
*/
DEF_CONSOLE_HOOK(ConHookNoNetwork)
@@ -1248,7 +1248,7 @@ DEF_CONSOLE_CMD(ConReloadAI)
return true;
}
- /* In offline mode the player can be in an AI company, after cheating or loading network save with an AI in first slot. */
+ /* In singleplayer mode the player can be in an AI company, after cheating or loading network save with an AI in first slot. */
if (Company::IsHumanID(company_id) || company_id == _local_company) {
IConsoleWarning("Company is not controlled by an AI.");
return true;
@@ -1286,7 +1286,7 @@ DEF_CONSOLE_CMD(ConStopAI)
return true;
}
- /* In offline mode the player can be in an AI company, after cheating or loading network save with an AI in first slot. */
+ /* In singleplayer mode the player can be in an AI company, after cheating or loading network save with an AI in first slot. */
if (Company::IsHumanID(company_id) || company_id == _local_company) {
IConsoleWarning("Company is not controlled by an AI.");
return true;