summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_rail.hpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-05-15 16:07:36 +0000
committerfrosch <frosch@openttd.org>2009-05-15 16:07:36 +0000
commit8ffb93c358c80fc24e349ad232648087508deec6 (patch)
tree05009b41503e46ed5e5a6edfa56f11dadafa66d9 /src/ai/api/ai_rail.hpp
parent683a6ca039fb0c52093dd93261b6233dd6f482f3 (diff)
downloadopenttd-8ffb93c358c80fc24e349ad232648087508deec6.tar.xz
(svn r16311) -Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL and _SIGNALS.
Diffstat (limited to 'src/ai/api/ai_rail.hpp')
-rw-r--r--src/ai/api/ai_rail.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/api/ai_rail.hpp b/src/ai/api/ai_rail.hpp
index 5ea5ad2a4..a16c27e1e 100644
--- a/src/ai/api/ai_rail.hpp
+++ b/src/ai/api/ai_rail.hpp
@@ -293,6 +293,7 @@ public:
/**
* Get all RailTracks on the given tile.
+ * @note A depot has no railtracks.
* @param tile The tile to check.
* @pre IsRailTile(tile).
* @return A bitmask of RailTrack with all RailTracks on the tile.