1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fix mapgen window reverting to flatland when selecting heightmap image

This commit is contained in:
Aaron van Geffen
2025-01-02 12:30:51 +01:00
parent a809f48106
commit c0505bb164
2 changed files with 2 additions and 0 deletions

View File

@@ -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)
------------------------------------------------------------------------

View File

@@ -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);
}
}