summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_town.hpp.sq
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-08-27 13:47:03 +0000
committersmatz <smatz@openttd.org>2009-08-27 13:47:03 +0000
commit072ce4bb17dcb02e8e832f46e4fcadfd7c4be944 (patch)
treea7db2661ae804f06e41ab9b237e7a9e2558be39b /src/ai/api/ai_town.hpp.sq
parent100ae8efcc592ec44f0cc161e0045fb84b67c45e (diff)
downloadopenttd-072ce4bb17dcb02e8e832f46e4fcadfd7c4be944.tar.xz
(svn r17293) -Fix [NoAI]: AITown::GetLastMonthTransported didn't work as documented at all, make it return what AITown::GetLastMonthProduction did
-Change [NoAI]: mark AITown::GetMaxProduction as deprecated, AITown::GetLastMonthProduction returns now the value GetMaxProduction did
Diffstat (limited to 'src/ai/api/ai_town.hpp.sq')
-rw-r--r--src/ai/api/ai_town.hpp.sq1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ai/api/ai_town.hpp.sq b/src/ai/api/ai_town.hpp.sq
index 58937f62b..bb10e8fba 100644
--- a/src/ai/api/ai_town.hpp.sq
+++ b/src/ai/api/ai_town.hpp.sq
@@ -65,7 +65,6 @@ void SQAITown_Register(Squirrel *engine) {
SQAITown.DefSQStaticMethod(engine, &AITown::GetLocation, "GetLocation", 2, ".i");
SQAITown.DefSQStaticMethod(engine, &AITown::GetLastMonthProduction, "GetLastMonthProduction", 3, ".ii");
SQAITown.DefSQStaticMethod(engine, &AITown::GetLastMonthTransported, "GetLastMonthTransported", 3, ".ii");
- SQAITown.DefSQStaticMethod(engine, &AITown::GetMaxProduction, "GetMaxProduction", 3, ".ii");
SQAITown.DefSQStaticMethod(engine, &AITown::GetDistanceManhattanToTile, "GetDistanceManhattanToTile", 3, ".ii");
SQAITown.DefSQStaticMethod(engine, &AITown::GetDistanceSquareToTile, "GetDistanceSquareToTile", 3, ".ii");
SQAITown.DefSQStaticMethod(engine, &AITown::IsWithinTownInfluence, "IsWithinTownInfluence", 3, ".ii");