summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_vehiclelist.hpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-08-08 16:36:06 +0000
committeryexo <yexo@openttd.org>2009-08-08 16:36:06 +0000
commiteff8cb839072c3aa80d1e54b189810061160669a (patch)
treedaf74355b9c9d4f73b998c4249b05423c3988f77 /src/ai/api/ai_vehiclelist.hpp
parent3dcc195dfa2c06212a44b186496bc558f519d154 (diff)
downloadopenttd-eff8cb839072c3aa80d1e54b189810061160669a.tar.xz
(svn r17112) -Change [NoAI]: AIVehicleList_Station now also works for waypoints
Diffstat (limited to 'src/ai/api/ai_vehiclelist.hpp')
-rw-r--r--src/ai/api/ai_vehiclelist.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ai/api/ai_vehiclelist.hpp b/src/ai/api/ai_vehiclelist.hpp
index 93332580b..1d441cd4e 100644
--- a/src/ai/api/ai_vehiclelist.hpp
+++ b/src/ai/api/ai_vehiclelist.hpp
@@ -27,7 +27,8 @@ public:
static const char *GetClassName() { return "AIVehicleList_Station"; }
/**
- * @param station_id The station to get the list of vehicles that have orders to him from.
+ * @param station_id The station to get the list of vehicles from, which have orders to it.
+ * @pre AIBaseStation::IsValidBaseStation(station_id)
*/
AIVehicleList_Station(StationID station_id);
};