summaryrefslogtreecommitdiff
path: root/src/script/api/ai
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-11-12 17:56:35 +0000
committerfrosch <frosch@openttd.org>2013-11-12 17:56:35 +0000
commitb1f41a0afb460071db2dbbfcb64140488f073382 (patch)
tree3d7589f178f39c5b013e3977308e6d01eb1278b4 /src/script/api/ai
parent41184fb871c6debe23f6b2c133373b6a3261cfce (diff)
downloadopenttd-b1f41a0afb460071db2dbbfcb64140488f073382.tar.xz
(svn r25967) -Add: [NoGo] GSTown::TOWN_GROWTH_NORMAL to reset a town growth rate set previously via GSTown::SetGrowthRate.
Diffstat (limited to 'src/script/api/ai')
-rw-r--r--src/script/api/ai/ai_town.hpp.sq1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/ai/ai_town.hpp.sq b/src/script/api/ai/ai_town.hpp.sq
index d626424ed..c8ef39ed4 100644
--- a/src/script/api/ai/ai_town.hpp.sq
+++ b/src/script/api/ai/ai_town.hpp.sq
@@ -48,6 +48,7 @@ void SQAITown_Register(Squirrel *engine)
SQAITown.DefSQConst(engine, ScriptTown::TOWN_SIZE_MEDIUM, "TOWN_SIZE_MEDIUM");
SQAITown.DefSQConst(engine, ScriptTown::TOWN_SIZE_LARGE, "TOWN_SIZE_LARGE");
SQAITown.DefSQConst(engine, ScriptTown::TOWN_SIZE_INVALID, "TOWN_SIZE_INVALID");
+ SQAITown.DefSQConst(engine, ScriptTown::TOWN_GROWTH_NORMAL, "TOWN_GROWTH_NORMAL");
SQAITown.DefSQStaticMethod(engine, &ScriptTown::GetTownCount, "GetTownCount", 1, ".");
SQAITown.DefSQStaticMethod(engine, &ScriptTown::IsValidTown, "IsValidTown", 2, ".i");