Codechange: Use enum class for RailGroundType.
This commit is contained in:
committed by
Peter Nelson
parent
0f5a4290df
commit
2851c70a59
@@ -133,7 +133,7 @@ void SetWaterClassDependingOnSurroundings(Tile t, bool include_invalid_water_cla
|
||||
|
||||
case MP_RAILWAY:
|
||||
/* Shore or flooded halftile */
|
||||
has_water |= (GetRailGroundType(neighbour) == RAIL_GROUND_WATER);
|
||||
has_water |= (GetRailGroundType(neighbour) == RailGroundType::HalfTileWater);
|
||||
break;
|
||||
|
||||
case MP_TREES:
|
||||
|
||||
Reference in New Issue
Block a user