summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-05-26 14:16:32 +0000
committerfrosch <frosch@openttd.org>2012-05-26 14:16:32 +0000
commit66a37e28a69411f4666158cce03c6fd29e9a15e1 (patch)
tree5735dafdf64c8ea7e57c1b9592f256ff37ccd687 /src/game
parent9ad9d72c4ae6fb28e7381bbd50ddeb2502b7d925 (diff)
downloadopenttd-66a37e28a69411f4666158cce03c6fd29e9a15e1.tar.xz
(svn r24289) -Add: [Script] Base class for script events involving a company and a town.
Diffstat (limited to 'src/game')
-rw-r--r--src/game/game_instance.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/game_instance.cpp b/src/game/game_instance.cpp
index 59091e449..4cdd33c97 100644
--- a/src/game/game_instance.cpp
+++ b/src/game/game_instance.cpp
@@ -126,6 +126,7 @@ void GameInstance::RegisterAPI()
SQGSEventCompanyInTrouble_Register(this->engine);
SQGSEventCompanyMerger_Register(this->engine);
SQGSEventCompanyNew_Register(this->engine);
+ SQGSEventCompanyTown_Register(this->engine);
SQGSEventController_Register(this->engine);
SQGSEventGoalQuestionAnswer_Register(this->engine);
SQGSEventIndustryClose_Register(this->engine);