summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-08-28 20:28:04 +0000
committerfrosch <frosch@openttd.org>2011-08-28 20:28:04 +0000
commit286b2aeee574f2052adc9752a2e7d103d99d220f (patch)
tree1a08235bf83644c291b2d941718aba7d7edb4b4f /src
parentd8a3c4f9bdc873ca1abc5e4885c9f2af06c53f8c (diff)
downloadopenttd-286b2aeee574f2052adc9752a2e7d103d99d220f.tar.xz
(svn r22853) -Doc: Add a missing bit of AI documentation.
Diffstat (limited to 'src')
-rw-r--r--src/ai/api/ai_tile.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/api/ai_tile.hpp b/src/ai/api/ai_tile.hpp
index 727c781a9..037a04d62 100644
--- a/src/ai/api/ai_tile.hpp
+++ b/src/ai/api/ai_tile.hpp
@@ -453,6 +453,8 @@ public:
* Find the town which has authority for the tile.
* The rating of your company in this town will be checked and affected when
* building stations, trees etc.
+ * @param tile The tile to check.
+ * @return The TownID of the town which has authority on this tile.
*/
static TownID GetTownAuthority(TileIndex tile);