forked from mirror/OpenTTD
(svn r654) Hopefully complete support for randomized variational spritegroups (i.e. the cars transporter in DBSetXL gets different cars each time) (pasky)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user