Fix #25999: Scenery picker tool does not pick tertiary colour of LS correctly

This commit is contained in:
spacek531 authored and GitHub committed 2026-02-10 22:36:45 +00:00
1 parent 52aef7b77c
commit 4b616d53df
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -9,6 +9,7 @@
- Fix: [#25910] Folders starting with numbers are sorted incorrectly (e.g. 1, 10, 2 instead of 1, 2, 10).
- Fix: [#25954] Guests display hats, balloons, and umbrellas while puking.
- Fix: [#25978] Frozen peeps start clapping when the scenario is won.
- Fix: [#25999] Scenery picker tool does not pick the tertiary colour of large scenery correctly.
0.4.31 (2026-02-01)
------------------------------------------------------------------------
+2 -1
View File
@@ -2344,7 +2344,8 @@ namespace OpenRCT2::Ui::Windows
{
WindowScenerySetSelectedItem(
{ SCENERY_TYPE_LARGE, entryIndex }, info.Element->AsLargeScenery()->GetPrimaryColour(),
info.Element->AsLargeScenery()->GetSecondaryColour(), std::nullopt,
info.Element->AsLargeScenery()->GetSecondaryColour(),
info.Element->AsLargeScenery()->GetTertiaryColour(),
(GetCurrentRotation() + info.Element->GetDirection()) & 3);
}
break;