summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2019-09-01 18:27:18 +0200
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-10-22 11:55:40 +0200
commit12e43c697d2ea4a0a9736ab2517a1921e6e690b8 (patch)
tree12cb2c77a7db7d0aa198ec7a522fafab9b30a2be /src/ai
parentcbefc1d99491def454fe25d1700c6d41925c81d6 (diff)
downloadopenttd-12e43c697d2ea4a0a9736ab2517a1921e6e690b8.tar.xz
Add: [Script] ScriptEventVehicleAutoReplaced.
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_instance.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp
index 18a549aa1..44e84325b 100644
--- a/src/ai/ai_instance.cpp
+++ b/src/ai/ai_instance.cpp
@@ -146,6 +146,7 @@ void AIInstance::RegisterAPI()
SQAIEventSubsidyOffer_Register(this->engine);
SQAIEventSubsidyOfferExpired_Register(this->engine);
SQAIEventTownFounded_Register(this->engine);
+ SQAIEventVehicleAutoReplaced_Register(this->engine);
SQAIEventVehicleCrashed_Register(this->engine);
SQAIEventVehicleLost_Register(this->engine);
SQAIEventVehicleUnprofitable_Register(this->engine);