mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-06 20:39:38 +01:00
parent
d970d238e1
commit
6353d3637e
@ -1771,6 +1771,11 @@ bool AfterLoadGame()
|
|||||||
if (!order->IsType(OT_GOTO_DEPOT)) continue;
|
if (!order->IsType(OT_GOTO_DEPOT)) continue;
|
||||||
order->SetDepotActionType((OrderDepotActionFlags)(order->GetDepotActionType() >> 1));
|
order->SetDepotActionType((OrderDepotActionFlags)(order->GetDepotActionType() >> 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (Vehicle *v : Vehicle::Iterate()) {
|
||||||
|
if (!v->current_order.IsType(OT_GOTO_DEPOT)) continue;
|
||||||
|
v->current_order.SetDepotActionType((OrderDepotActionFlags)(v->current_order.GetDepotActionType() >> 1));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The water class was moved/unified. */
|
/* The water class was moved/unified. */
|
||||||
|
Loading…
Reference in New Issue
Block a user