summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_tile.hpp.sq
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-08-19 21:19:10 +0000
committerfrosch <frosch@openttd.org>2011-08-19 21:19:10 +0000
commit27aff44e77493ca87d6b75fa99c972a5035a42dc (patch)
treeeecb0ecd8be2670ac6cd63317b0eaf0b1654ed2e /src/ai/api/ai_tile.hpp.sq
parentb8f8cef34c1d75da025db9216a3f798ff8f74f3b (diff)
downloadopenttd-27aff44e77493ca87d6b75fa99c972a5035a42dc.tar.xz
(svn r22764) -Add: [NoAI] AITile::GetTownAuthority().
Diffstat (limited to 'src/ai/api/ai_tile.hpp.sq')
-rw-r--r--src/ai/api/ai_tile.hpp.sq1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/api/ai_tile.hpp.sq b/src/ai/api/ai_tile.hpp.sq
index 2d9212219..8c7ba0b86 100644
--- a/src/ai/api/ai_tile.hpp.sq
+++ b/src/ai/api/ai_tile.hpp.sq
@@ -125,6 +125,7 @@ void SQAITile_Register(Squirrel *engine)
SQAITile.DefSQStaticMethod(engine, &AITile::PlantTree, "PlantTree", 2, ".i");
SQAITile.DefSQStaticMethod(engine, &AITile::PlantTreeRectangle, "PlantTreeRectangle", 4, ".iii");
SQAITile.DefSQStaticMethod(engine, &AITile::IsWithinTownInfluence, "IsWithinTownInfluence", 3, ".ii");
+ SQAITile.DefSQStaticMethod(engine, &AITile::GetTownAuthority, "GetTownAuthority", 2, ".i");
SQAITile.DefSQStaticMethod(engine, &AITile::GetClosestTown, "GetClosestTown", 2, ".i");
SQAITile.DefSQStaticMethod(engine, &AITile::GetBuildCost, "GetBuildCost", 2, ".i");