1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 11:45:13 +01:00

Code style: Remove more snakes from the park, maphelper, scenery. (#18222)

This commit is contained in:
Duncan
2022-10-08 10:56:17 +01:00
committed by GitHub
parent 34170d6814
commit 5dba30778d
55 changed files with 212 additions and 214 deletions

View File

@@ -213,7 +213,7 @@ void MapGenGenerate(mapgen_settings* settings)
delete[] _height;
// Set the tile slopes so that there are no cliffs
while (map_smooth(1, 1, mapSize.x - 1, mapSize.y - 1))
while (MapSmooth(1, 1, mapSize.x - 1, mapSize.y - 1))
{
}
@@ -880,7 +880,7 @@ void MapGenGenerateFromHeightmap(mapgen_settings* settings)
for (uint32_t x = 0; x < _heightMapData.width; x++)
{
auto tileCoords = MapgenHeightmapCoordToTileCoordsXY(x, y);
numTilesChanged += tile_smooth(tileCoords);
numTilesChanged += TileSmooth(tileCoords);
}
}