1
0
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:
Peter Nelson
2025-12-06 12:29:11 +00:00
committed by GitHub
parent c1d37d8699
commit 046b0c6267
20 changed files with 358 additions and 340 deletions

View File

@@ -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);
}