summaryrefslogtreecommitdiff
path: root/src/script/api/script_waypointlist.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/script_waypointlist.hpp')
-rw-r--r--src/script/api/script_waypointlist.hpp4
1 files changed, 3 insertions, 1 deletions
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);
};