Codechange: make TropicZone a scoped enum (#15442)

This commit is contained in:
Peter Nelson
2026-04-07 08:33:16 +01:00
committed by GitHub
parent bcd98a6ba5
commit 4db1672611
18 changed files with 55 additions and 55 deletions
+1 -1
View File
@@ -2022,7 +2022,7 @@ static void TileLoop_Road(TileIndex tile)
}
case LandscapeType::Tropic:
if (GetTropicZone(tile) == TROPICZONE_DESERT && !IsOnSnowOrDesert(tile)) {
if (GetTropicZone(tile) == TropicZone::Desert && !IsOnSnowOrDesert(tile)) {
ToggleSnowOrDesert(tile);
MarkTileDirtyByTile(tile);
}