diff options
author | frosch <frosch@openttd.org> | 2012-05-26 14:16:32 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-05-26 14:16:32 +0000 |
commit | 66a37e28a69411f4666158cce03c6fd29e9a15e1 (patch) | |
tree | 5735dafdf64c8ea7e57c1b9592f256ff37ccd687 /src/ai | |
parent | 9ad9d72c4ae6fb28e7381bbd50ddeb2502b7d925 (diff) | |
download | openttd-66a37e28a69411f4666158cce03c6fd29e9a15e1.tar.xz |
(svn r24289) -Add: [Script] Base class for script events involving a company and a town.
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/ai_instance.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp index b1eb25b5a..b1988d2c0 100644 --- a/src/ai/ai_instance.cpp +++ b/src/ai/ai_instance.cpp @@ -128,6 +128,7 @@ void AIInstance::RegisterAPI() SQAIEventCompanyInTrouble_Register(this->engine); SQAIEventCompanyMerger_Register(this->engine); SQAIEventCompanyNew_Register(this->engine); + SQAIEventCompanyTown_Register(this->engine); SQAIEventController_Register(this->engine); SQAIEventDisasterZeppelinerCleared_Register(this->engine); SQAIEventDisasterZeppelinerCrashed_Register(this->engine); |