summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r--src/ship_cmd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp
index 1fe14870c..a927dd542 100644
--- a/src/ship_cmd.cpp
+++ b/src/ship_cmd.cpp
@@ -41,6 +41,7 @@
#include "settings_type.h"
#include "order_func.h"
#include "effectvehicle_func.h"
+#include "ai/ai.hpp"
#include "table/strings.h"
@@ -353,6 +354,7 @@ static void ShipArrivesAt(const Vehicle *v, Station *st)
v->index,
st->index
);
+ AI::NewEvent(v->owner, new AIEventStationFirstVehicle(st->index, v->index));
}
}