summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorWilliam Davis <daviswill048@icloud.com>2021-05-08 06:02:30 -0400
committerGitHub <noreply@github.com>2021-05-08 11:02:30 +0100
commit881e1da51d47bde0b6ddf86be1da55aceced7839 (patch)
treef5c4cca2ea0ff87d60ca21207a995c6c9dcba921 /src/script
parentf187708b3b6bcb95a0d92908f8a90c1431ca2578 (diff)
downloadopenttd-881e1da51d47bde0b6ddf86be1da55aceced7839.tar.xz
Change: Use gender-neutral pronouns in console command messages (and comments) (#9203)
Diffstat (limited to 'src/script')
-rw-r--r--src/script/api/script_companymode.hpp2
-rw-r--r--src/script/api/script_event_types.hpp2
-rw-r--r--src/script/api/script_execmode.hpp2
-rw-r--r--src/script/api/script_stationlist.hpp2
-rw-r--r--src/script/api/script_testmode.hpp2
-rw-r--r--src/script/squirrel_class.hpp4
6 files changed, 7 insertions, 7 deletions
diff --git a/src/script/api/script_companymode.hpp b/src/script/api/script_companymode.hpp
index 4eba2dd9f..e00cc7bfb 100644
--- a/src/script/api/script_companymode.hpp
+++ b/src/script/api/script_companymode.hpp
@@ -37,7 +37,7 @@ public:
* Creating instance of this class switches the company used for queries
* and commands.
* @param company The new company to switch to.
- * @note When the instance is destroyed, he restores the company that was
+ * @note When the instance is destroyed, it restores the company that was
* current when the instance was created!
*/
ScriptCompanyMode(int company);
diff --git a/src/script/api/script_event_types.hpp b/src/script/api/script_event_types.hpp
index f0487f48a..1d514389b 100644
--- a/src/script/api/script_event_types.hpp
+++ b/src/script/api/script_event_types.hpp
@@ -968,7 +968,7 @@ public:
private:
uint16 uniqueid; ///< The uniqueid of the question.
ScriptCompany::CompanyID company; ///< The company given the answer.
- ScriptGoal::QuestionButton button; ///< The button he pressed.
+ ScriptGoal::QuestionButton button; ///< The button that was pressed.
};
/**
diff --git a/src/script/api/script_execmode.hpp b/src/script/api/script_execmode.hpp
index 8e4fd7157..f7ea55a1f 100644
--- a/src/script/api/script_execmode.hpp
+++ b/src/script/api/script_execmode.hpp
@@ -34,7 +34,7 @@ protected:
public:
/**
* Creating instance of this class switches the build mode to Execute.
- * @note When the instance is destroyed, he restores the mode that was
+ * @note When the instance is destroyed, it restores the mode that was
* current when the instance was created!
*/
ScriptExecMode();
diff --git a/src/script/api/script_stationlist.hpp b/src/script/api/script_stationlist.hpp
index ee862cb93..8628dbb4a 100644
--- a/src/script/api/script_stationlist.hpp
+++ b/src/script/api/script_stationlist.hpp
@@ -279,7 +279,7 @@ public:
class ScriptStationList_Vehicle : public ScriptList {
public:
/**
- * @param vehicle_id The vehicle to get the list of stations he has in its orders from.
+ * @param vehicle_id The vehicle to get the list of stations it has in its orders from.
*/
ScriptStationList_Vehicle(VehicleID vehicle_id);
};
diff --git a/src/script/api/script_testmode.hpp b/src/script/api/script_testmode.hpp
index eddd9340a..956a25e2d 100644
--- a/src/script/api/script_testmode.hpp
+++ b/src/script/api/script_testmode.hpp
@@ -36,7 +36,7 @@ protected:
public:
/**
* Creating instance of this class switches the build mode to Testing.
- * @note When the instance is destroyed, he restores the mode that was
+ * @note When the instance is destroyed, it restores the mode that was
* current when the instance was created!
*/
ScriptTestMode();
diff --git a/src/script/squirrel_class.hpp b/src/script/squirrel_class.hpp
index b600839d4..8794e2441 100644
--- a/src/script/squirrel_class.hpp
+++ b/src/script/squirrel_class.hpp
@@ -48,7 +48,7 @@ public:
/**
* This defines a method inside a class for Squirrel with defined params.
- * @note If you define nparam, make sure that he first param is always 'x',
+ * @note If you define nparam, make sure that the first param is always 'x',
* which is the 'this' inside the function. This is hidden from the rest
* of the code, but without it calling your function will fail!
*/
@@ -81,7 +81,7 @@ public:
/**
* This defines a static method inside a class for Squirrel with defined params.
- * @note If you define nparam, make sure that he first param is always 'x',
+ * @note If you define nparam, make sure that the first param is always 'x',
* which is the 'this' inside the function. This is hidden from the rest
* of the code, but without it calling your function will fail!
*/