diff options
author | rubidium42 <rubidium@openttd.org> | 2021-05-09 19:02:17 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-15 10:16:48 +0200 |
commit | 44ca7d93773fb816da6d353c9cde6ab14dae993a (patch) | |
tree | 2fc9399acaa114dd399eafb995d0dee8b516d18d /src/script/api | |
parent | ddaedaf32a1981dcd93cafee0cae879f96207fe4 (diff) | |
download | openttd-44ca7d93773fb816da6d353c9cde6ab14dae993a.tar.xz |
Change: Use gender-neutral pronouns
Diffstat (limited to 'src/script/api')
-rw-r--r-- | src/script/api/script_controller.cpp | 2 | ||||
-rw-r--r-- | src/script/api/script_object.cpp | 2 | ||||
-rw-r--r-- | src/script/api/script_waypointlist.hpp | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/src/script/api/script_controller.cpp b/src/script/api/script_controller.cpp index e74f27e4a..8af7b87a3 100644 --- a/src/script/api/script_controller.cpp +++ b/src/script/api/script_controller.cpp @@ -54,7 +54,7 @@ seprintf(log_message, lastof(log_message), "Break: %s", message); ScriptLog::Log(ScriptLog::LOG_SQ_ERROR, log_message); - /* Inform script developer that his script has been paused and + /* Inform script developer that their script has been paused and * needs manual action to continue. */ ShowAIDebugWindow(ScriptObject::GetRootCompany()); diff --git a/src/script/api/script_object.cpp b/src/script/api/script_object.cpp index 6275d1be3..85a85cca1 100644 --- a/src/script/api/script_object.cpp +++ b/src/script/api/script_object.cpp @@ -365,7 +365,7 @@ ScriptObject::ActiveInstance::~ActiveInstance() IncreaseDoCommandCosts(res.GetCost()); /* Suspend the script player for 1+ ticks, so it simulates multiplayer. This - * both avoids confusion when a developer launched his script in a + * both avoids confusion when a developer launched the script in a * multiplayer game, but also gives time for the GUI and human player * to interact with the game. */ throw Script_Suspend(GetDoCommandDelay(), callback); diff --git a/src/script/api/script_waypointlist.hpp b/src/script/api/script_waypointlist.hpp index 0ee33eff6..f05754b1e 100644 --- a/src/script/api/script_waypointlist.hpp +++ b/src/script/api/script_waypointlist.hpp @@ -34,7 +34,9 @@ public: class ScriptWaypointList_Vehicle : public ScriptList { public: /** - * @param vehicle_id The vehicle to get the list of waypoints he has in its orders from. + * Get the waypoints from the orders of the given vehicle. Duplicates are + * not added. Waypoints are added in the order of the vehicle's orders. + * @param vehicle_id The vehicle to get the list of waypoints for. */ ScriptWaypointList_Vehicle(VehicleID vehicle_id); }; |