diff options
author | glx <glx@openttd.org> | 2019-09-01 18:27:18 +0200 |
---|---|---|
committer | Niels Martin Hansen <nielsm@indvikleren.dk> | 2019-10-22 11:55:40 +0200 |
commit | 12e43c697d2ea4a0a9736ab2517a1921e6e690b8 (patch) | |
tree | 12cb2c77a7db7d0aa198ec7a522fafab9b30a2be /src/ai | |
parent | cbefc1d99491def454fe25d1700c6d41925c81d6 (diff) | |
download | openttd-12e43c697d2ea4a0a9736ab2517a1921e6e690b8.tar.xz |
Add: [Script] ScriptEventVehicleAutoReplaced.
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 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); |