From 13f0b6c0cf754184cfef8645e709f10240da5f98 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 17 Nov 2004 08:52:47 +0000 Subject: (svn r654) Hopefully complete support for randomized variational spritegroups (i.e. the cars transporter in DBSetXL gets different cars each time) (pasky) --- ship_cmd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ship_cmd.c') diff --git a/ship_cmd.c b/ship_cmd.c index 4370c6102..980f8e326 100644 --- a/ship_cmd.c +++ b/ship_cmd.c @@ -392,6 +392,8 @@ static void ShipEnterDepot(Vehicle *v) MaybeRenewVehicle(v, EstimateShipCost(v->engine_type)); + TriggerVehicle(v, VEHICLE_TRIGGER_DEPOT); + if ((v->next_order&OT_MASK) == OT_GOTO_DEPOT) { InvalidateWindow(WC_VEHICLE_VIEW, v->index); -- cgit v1.2.3-54-g00ecf