Codechange: make ExpensesType a scoped enum (#15572)

This commit is contained in:
Peter Nelson
2026-05-04 08:20:52 +01:00
committed by GitHub
parent cd597f79ad
commit 792f6d99a3
35 changed files with 200 additions and 189 deletions
+1 -1
View File
@@ -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);