summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai.hpp2
-rw-r--r--src/ai/ai_core.cpp2
-rw-r--r--src/ai/ai_scanner.hpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/ai/ai.hpp b/src/ai/ai.hpp
index d3381fb8a..065367d03 100644
--- a/src/ai/ai.hpp
+++ b/src/ai/ai.hpp
@@ -26,7 +26,7 @@ typedef std::map<const char *, class ScriptInfo *, StringCompare> ScriptInfoList
class AI {
public:
/**
- * The default months AIs start after eachother.
+ * The default months AIs start after each other.
*/
enum StartNext {
START_NEXT_EASY = DAYS_IN_YEAR * 2,
diff --git a/src/ai/ai_core.cpp b/src/ai/ai_core.cpp
index ab8510f09..8ad3e67df 100644
--- a/src/ai/ai_core.cpp
+++ b/src/ai/ai_core.cpp
@@ -197,7 +197,7 @@
/* static */ void AI::ResetConfig()
{
- /* Check for both newgame as current game if we can reload the AIInfo insde
+ /* Check for both newgame as current game if we can reload the AIInfo inside
* the AIConfig. If not, remove the AI from the list (which will assign
* a random new AI on reload). */
for (CompanyID c = COMPANY_FIRST; c < MAX_COMPANIES; c++) {
diff --git a/src/ai/ai_scanner.hpp b/src/ai/ai_scanner.hpp
index 97fdba04c..e09eca9d9 100644
--- a/src/ai/ai_scanner.hpp
+++ b/src/ai/ai_scanner.hpp
@@ -30,7 +30,7 @@ public:
/**
* Check if we have an AI by name and version available in our list.
* @param nameParam The name of the AI.
- * @param versionParam The versionof the AI, or -1 if you want the latest.
+ * @param versionParam The version of the AI, or -1 if you want the latest.
* @param force_exact_match Only match name+version, never latest.
* @return NULL if no match found, otherwise the AI that matched.
*/