diff options
author | frosch <frosch@openttd.org> | 2012-10-10 19:11:22 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-10-10 19:11:22 +0000 |
commit | dee2f39f99c4bab5aedfbe5824722b57aa9da1d3 (patch) | |
tree | 188bfda3954ac4f1587ba3c87c03e326064b89db /src/script/api/script_vehicle.hpp | |
parent | dda3709c7ec8af0221bedafdbdde7a89097992ce (diff) | |
download | openttd-dee2f39f99c4bab5aedfbe5824722b57aa9da1d3.tar.xz |
(svn r24584) -Doc: [Script] Improve API documentation.
Diffstat (limited to 'src/script/api/script_vehicle.hpp')
-rw-r--r-- | src/script/api/script_vehicle.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/api/script_vehicle.hpp b/src/script/api/script_vehicle.hpp index fb5378e1a..9af3aca8e 100644 --- a/src/script/api/script_vehicle.hpp +++ b/src/script/api/script_vehicle.hpp @@ -549,6 +549,9 @@ public: /** * Get the maximum allowed distance between two orders for a vehicle. + * The distance returned is a vehicle-type specific distance indepenent from other + * map distances, you may use the result of this function to compare it + * with the result of ScriptOrder::GetOrderDistance. * @param vehicle_id The vehicle to get the distance for. * @pre IsValidVehicle(vehicle_id). * @return The maximum distance between two orders for this vehicle |