Codechange: make RoadTramType a scoped enum, and use EnumBitSet (#15477)

This commit is contained in:
Peter Nelson
2026-04-13 18:15:41 +01:00
committed by GitHub
parent dab82fdff0
commit a5a60c8615
53 changed files with 252 additions and 250 deletions
+1 -1
View File
@@ -588,7 +588,7 @@ uint32_t GetSmallMapOwnerPixels(TileIndex tile, TileType t, IncludeHeightmap inc
case TileType::Industry: return MKCOLOUR_XXXX(PC_DARK_GREY);
case TileType::House: return MKCOLOUR_XXXX(PC_DARK_RED);
case TileType::Road:
o = GetRoadOwner(tile, HasRoadTypeRoad(tile) ? RTT_ROAD : RTT_TRAM);
o = GetRoadOwner(tile, HasRoadTypeRoad(tile) ? RoadTramType::Road : RoadTramType::Tram);
break;
default: