diff options
author | tron <tron@openttd.org> | 2004-11-17 08:52:47 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-11-17 08:52:47 +0000 |
commit | 13f0b6c0cf754184cfef8645e709f10240da5f98 (patch) | |
tree | 71bd164389e546b1a8a5c1c879b57c1574cb95d2 /ship_cmd.c | |
parent | 0086bb9d0678876e2e3e9b4002a0f44af2c45ee4 (diff) | |
download | openttd-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 'ship_cmd.c')
-rw-r--r-- | ship_cmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |