summaryrefslogtreecommitdiff
path: root/src/script/api/game/game_event.hpp.sq
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/script/api/game/game_event.hpp.sq
parentcbefc1d99491def454fe25d1700c6d41925c81d6 (diff)
downloadopenttd-12e43c697d2ea4a0a9736ab2517a1921e6e690b8.tar.xz
Add: [Script] ScriptEventVehicleAutoReplaced.
Diffstat (limited to 'src/script/api/game/game_event.hpp.sq')
-rw-r--r--src/script/api/game/game_event.hpp.sq1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/game/game_event.hpp.sq b/src/script/api/game/game_event.hpp.sq
index 53b9b2ce9..1febdb2be 100644
--- a/src/script/api/game/game_event.hpp.sq
+++ b/src/script/api/game/game_event.hpp.sq
@@ -50,6 +50,7 @@ void SQGSEvent_Register(Squirrel *engine)
SQGSEvent.DefSQConst(engine, ScriptEvent::ET_GOAL_QUESTION_ANSWER, "ET_GOAL_QUESTION_ANSWER");
SQGSEvent.DefSQConst(engine, ScriptEvent::ET_EXCLUSIVE_TRANSPORT_RIGHTS, "ET_EXCLUSIVE_TRANSPORT_RIGHTS");
SQGSEvent.DefSQConst(engine, ScriptEvent::ET_ROAD_RECONSTRUCTION, "ET_ROAD_RECONSTRUCTION");
+ SQGSEvent.DefSQConst(engine, ScriptEvent::ET_VEHICLE_AUTOREPLACED, "ET_VEHICLE_AUTOREPLACED");
SQGSEvent.DefSQMethod(engine, &ScriptEvent::GetEventType, "GetEventType", 1, "x");