mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
Codechange: make ExpensesType a scoped enum (#15572)
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ static CommandCost ClearTile_Clear(TileIndex tile, DoCommandFlags flags)
|
||||
Price::ClearRough, // Unused.
|
||||
Price::ClearRough, // Unused.
|
||||
};
|
||||
CommandCost price(EXPENSES_CONSTRUCTION);
|
||||
CommandCost price(ExpensesType::Construction);
|
||||
|
||||
ClearGround ground = GetClearGround(tile);
|
||||
uint8_t density = GetClearDensity(tile);
|
||||
|
||||
Reference in New Issue
Block a user