1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Remove terrain height setting map from GenerateMap

This commit is contained in:
Aaron van Geffen
2024-09-10 22:19:15 +02:00
parent 1ad9bc4786
commit 56ef87cb54

View File

@@ -430,13 +430,9 @@ namespace OpenRCT2::Ui::Windows
switch (mapgenSettings.algorithm)
{
case MapGenAlgorithm::blank:
mapgenSettings.baseHeight += kMinimumLandHeight;
mapgenSettings.waterLevel += kMinimumWaterHeight;
break;
case MapGenAlgorithm::simplexNoise:
mapgenSettings.baseHeight += kMinimumLandHeight;
mapgenSettings.waterLevel += kMinimumWaterHeight;
mapgenSettings.heightmapLow = UtilRand() % 4;
mapgenSettings.heightmapHigh = 12 + (UtilRand() % (32 - 12));
mapgenSettings.simplex_base_freq = 1.75f;
@@ -444,7 +440,6 @@ namespace OpenRCT2::Ui::Windows
break;
case MapGenAlgorithm::simplexCustom:
mapgenSettings.waterLevel += kMinimumWaterHeight;
mapgenSettings.simplex_base_freq /= 100.00f;
break;