From c0505bb16472a993ff2d3666e07a4fbfc8198702 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Thu, 2 Jan 2025 12:30:51 +0100 Subject: [PATCH] Fix mapgen window reverting to flatland when selecting heightmap image --- distribution/changelog.txt | 1 + src/openrct2-ui/windows/MapGen.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 638cd4d137..e390b0622b 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -14,6 +14,7 @@ - Fix: [#23376] Peeps with balloons, hats and umbrellas may leave artifacts on screen. - Fix: [#23486] Object selection minimum requirements can be bypassed with close window hotkey. - Fix: [#23496] Newly spawned vehicles are invisible when spawned while the game is paused. +- Fix: [#23509] Map generator window reverts to flatland after selecting a heightmap image. 0.4.17 (2024-12-08) ------------------------------------------------------------------------ diff --git a/src/openrct2-ui/windows/MapGen.cpp b/src/openrct2-ui/windows/MapGen.cpp index 0727377b26..e8f41533e1 100644 --- a/src/openrct2-ui/windows/MapGen.cpp +++ b/src/openrct2-ui/windows/MapGen.cpp @@ -1546,6 +1546,7 @@ namespace OpenRCT2::Ui::Windows // The window needs to be open while using the map _heightmapLoaded = true; _heightmapFilename = fs::u8path(path).filename().string(); + _settings.algorithm = MapGenerator::Algorithm::heightmapImage; SetPage(WINDOW_MAPGEN_PAGE_BASE); } }