summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-17 08:52:47 +0000
committertron <tron@openttd.org>2004-11-17 08:52:47 +0000
commit13f0b6c0cf754184cfef8645e709f10240da5f98 (patch)
tree71bd164389e546b1a8a5c1c879b57c1574cb95d2 /aircraft_cmd.c
parent0086bb9d0678876e2e3e9b4002a0f44af2c45ee4 (diff)
downloadopenttd-13f0b6c0cf754184cfef8645e709f10240da5f98.tar.xz
(svn r654) Hopefully complete support for randomized variational spritegroups (i.e. the cars transporter in DBSetXL gets different cars each time) (pasky)
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index fb321f62b..f4112379d 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -1148,6 +1148,8 @@ static void AircraftEnterHangar(Vehicle *v)
MaybeRenewVehicle(v, EstimateAircraftCost(v->engine_type));
+ TriggerVehicle(v, VEHICLE_TRIGGER_DEPOT);
+
if ((v->next_order & OT_MASK) == OT_GOTO_DEPOT) {
InvalidateWindow(WC_VEHICLE_VIEW, v->index);