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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user