summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_tile.hpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-01-03 12:42:50 +0000
committeryexo <yexo@openttd.org>2010-01-03 12:42:50 +0000
commit6e97511bcb11a83931e7ff26f3834f1d69ad1704 (patch)
tree3f8d14a586d1ac9c72571c102d4feeb36d734833 /src/ai/api/ai_tile.hpp
parentc73df2016a1efa1c0d9bb95f4d297f410cfffc32 (diff)
downloadopenttd-6e97511bcb11a83931e7ff26f3834f1d69ad1704.tar.xz
(svn r18696) -Fix [FS#3404]: AITile::IsCoastTile returned false for coast tiles with trees on them.
Diffstat (limited to 'src/ai/api/ai_tile.hpp')
-rw-r--r--src/ai/api/ai_tile.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ai/api/ai_tile.hpp b/src/ai/api/ai_tile.hpp
index 8f5f4a102..6b254899f 100644
--- a/src/ai/api/ai_tile.hpp
+++ b/src/ai/api/ai_tile.hpp
@@ -140,7 +140,8 @@ public:
* @param tile The tile to check.
* @pre AIMap::IsValidTile(tile).
* @return True if and only if the tile is a coast tile.
- * @note Building on coast tiles in general is more expensive.
+ * @note Building on coast tiles in general is more expensive. This is not
+ * true if there are also trees on the tile, see #HasTreeOnTile.
*/
static bool IsCoastTile(TileIndex tile);