Codechange: Use enum class for RailGroundType.

This commit is contained in:
Peter Nelson
2025-11-17 19:49:36 +00:00
committed by dP
parent 6f6c3834dc
commit 99fafcb960
7 changed files with 89 additions and 89 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ static bool FixTTOMapArray()
* Instead of using bits in m3 it uses a different tile type. */
tile.m3() = 1; // rail type = monorail (in TTD)
SetTileType(tile, MP_RAILWAY);
tile.m2() = 1; // set monorail ground to RAIL_GROUND_GRASS
tile.m2() = 1; // set monorail ground to RailGroundType::Grass
tt = MP_RAILWAY;
}