diff options
author | truebrain <truebrain@openttd.org> | 2011-12-21 15:06:00 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-21 15:06:00 +0000 |
commit | ac306fc13883e727513824b4796c42c2baabd480 (patch) | |
tree | e69352da448f2d971f835f19b3cd79894fe8fa08 /src/ai | |
parent | 5988659eea20d3e84fdeadf448133e9b94e9630f (diff) | |
download | openttd-ac306fc13883e727513824b4796c42c2baabd480.tar.xz |
(svn r23652) -Fix: don't include/document ScriptText for AIs. It is not usable
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/ai_instance.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp index 695a01d8a..cf7106b9c 100644 --- a/src/ai/ai_instance.cpp +++ b/src/ai/ai_instance.cpp @@ -26,6 +26,9 @@ #include "ai_info.hpp" #include "ai_instance.hpp" +/* Manually include the Text glue. */ +#include "../script/api/template/template_text.hpp.sq" + /* Convert all AI related classes to Squirrel data. * Note: this line is a marker in squirrel_export.sh. Do not change! */ #include "../script/api/ai/ai_accounting.hpp.sq" @@ -69,7 +72,6 @@ #include "../script/api/ai/ai_subsidy.hpp.sq" #include "../script/api/ai/ai_subsidylist.hpp.sq" #include "../script/api/ai/ai_testmode.hpp.sq" -#include "../script/api/ai/ai_text.hpp.sq" #include "../script/api/ai/ai_tile.hpp.sq" #include "../script/api/ai/ai_tilelist.hpp.sq" #include "../script/api/ai/ai_town.hpp.sq" @@ -172,7 +174,6 @@ void AIInstance::RegisterAPI() SQAISubsidy_Register(this->engine); SQAISubsidyList_Register(this->engine); SQAITestMode_Register(this->engine); - SQAIText_Register(this->engine); SQAITile_Register(this->engine); SQAITileList_Register(this->engine); SQAITileList_IndustryAccepting_Register(this->engine); |