mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Fix #23135: Tree placement has noticable patterns
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
- Change: [#23413] The max number of park entrance objects has been raised to 255.
|
||||
- Fix: [#1122] Trains spawned on a cable lift hill will fall down and crash (original bug).
|
||||
- Fix: [#22742, #22793] In game console does not handle format tokens properly.
|
||||
- Fix: [#23135] Map generator tree placement has noticable patterns.
|
||||
- Fix: [#23286] Currency formatted incorrectly in the in game console.
|
||||
- Fix: [#23348] Console set commands don't print output properly.
|
||||
- Fix: [#23376] Peeps with balloons, hats and umbrellas may leave artifacts on screen.
|
||||
|
||||
@@ -147,6 +147,9 @@ namespace OpenRCT2::World::MapGenerator
|
||||
// Place trees
|
||||
float treeToLandRatio = static_cast<float>(settings->treeToLandRatio) / 100.0f;
|
||||
|
||||
// Randomise simplex noise
|
||||
NoiseRand();
|
||||
|
||||
auto& gameState = GetGameState();
|
||||
for (int32_t y = 1; y < gameState.MapSize.y - 1; y++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user