1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 22:13:07 +01:00

Allow cheated umbrellas to use the full colour palette again (#25717)

This commit is contained in:
Aaron van Geffen
2025-12-28 22:10:42 +01:00
committed by GitHub
parent b7250d4ca3
commit 9a73230179
3 changed files with 3 additions and 2 deletions

View File

@@ -32,6 +32,7 @@
- Fix: [#25642] The selection marker for purchasing land rights is not drawn with the correct colours.
- Fix: [#25646] It is possible to remove scenery and paths when setting staff patrol areas and purchasing land.
- Fix: [#25660] After saving a track design with scenery, that rides entrances and exits are visible in Highlight path issues mode.
- Fix: [#25717] Umbrellas given to guests by means of cheats do not use the full (extended) range of colours.
0.4.29 (2025-11-22)
------------------------------------------------------------------------

View File

@@ -704,7 +704,7 @@ namespace OpenRCT2::GameActions
break;
case OBJECT_UMBRELLA:
peep->GiveItem(ShopItem::umbrella);
peep->UmbrellaColour = ScenarioRandMax(kColourNumOriginal);
peep->UmbrellaColour = ScenarioRandMax(kColourNumNormal);
peep->UpdateAnimationGroup();
break;
}

View File

@@ -47,7 +47,7 @@
// It is used for making sure only compatible builds get connected, even within
// single OpenRCT2 version.
constexpr uint8_t kStreamVersion = 6;
constexpr uint8_t kStreamVersion = 7;
const std::string kStreamID = std::string(kOpenRCT2Version) + "-" + std::to_string(kStreamVersion);