From 9a7323017974b4d667cc824d725308f5401fa252 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Sun, 28 Dec 2025 22:10:42 +0100 Subject: [PATCH] Allow cheated umbrellas to use the full colour palette again (#25717) --- distribution/changelog.txt | 1 + src/openrct2/actions/CheatSetAction.cpp | 2 +- src/openrct2/network/NetworkBase.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index e8d1a698b0..06942cb773 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -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 ride’s 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) ------------------------------------------------------------------------ diff --git a/src/openrct2/actions/CheatSetAction.cpp b/src/openrct2/actions/CheatSetAction.cpp index 1a4c4a51d9..2ec5f73cba 100644 --- a/src/openrct2/actions/CheatSetAction.cpp +++ b/src/openrct2/actions/CheatSetAction.cpp @@ -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; } diff --git a/src/openrct2/network/NetworkBase.cpp b/src/openrct2/network/NetworkBase.cpp index 7c0157908a..6a5ef0f5e3 100644 --- a/src/openrct2/network/NetworkBase.cpp +++ b/src/openrct2/network/NetworkBase.cpp @@ -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);