summaryrefslogtreecommitdiff
path: root/src/script/api/ai_changelog.hpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-04-30 17:16:32 +0000
committerrubidium <rubidium@openttd.org>2013-04-30 17:16:32 +0000
commit5730e63a10f8edfe2b1495242f19b9b60589a4e2 (patch)
treed76689f8ad86c50720c67c76544f09ee2238c76a /src/script/api/ai_changelog.hpp
parent5b55afb7bd21ae6fc1cc6480aac2946262d63684 (diff)
downloadopenttd-5730e63a10f8edfe2b1495242f19b9b60589a4e2.tar.xz
(svn r25213) -Fix [FS#5537]: clarify on which tiles IsDesertTile and IsSnowTile work, i.e. the ones without infrastructure or buildings
-Feature: introduce GetTerrainType which allows one to get that information for tiles with buildings and infrastructure as well
Diffstat (limited to 'src/script/api/ai_changelog.hpp')
-rw-r--r--src/script/api/ai_changelog.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/ai_changelog.hpp b/src/script/api/ai_changelog.hpp
index 6f1741c1c..ce2d55745 100644
--- a/src/script/api/ai_changelog.hpp
+++ b/src/script/api/ai_changelog.hpp
@@ -21,6 +21,7 @@
*
* API additions:
* \li AIStation::HasRating
+ * \li AITile::GetTerrainType
*
* Other changes:
* \li AIStation::GetRating does return -1 for cargo-station combinations that