mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-27 14:14:27 +01:00
Codechange: Use enum class and EnumBitSet for various order flags. (#14783)
This commit is contained in:
@@ -220,7 +220,7 @@ static void CheckIfShipNeedsService(Vehicle *v)
|
||||
return;
|
||||
}
|
||||
|
||||
v->current_order.MakeGoToDepot(depot->index, ODTFB_SERVICE);
|
||||
v->current_order.MakeGoToDepot(depot->index, OrderDepotTypeFlag::Service);
|
||||
v->SetDestTile(depot->xy);
|
||||
SetWindowWidgetDirty(WC_VEHICLE_VIEW, v->index, WID_VV_START_STOP);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user