1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

Set slide as not in use when using cheat to remove guests

This commit is contained in:
matheusvb3
2025-10-23 11:39:33 -03:00
committed by GitHub
parent 5928279cf0
commit 3deae86fb5
3 changed files with 3 additions and 1 deletions

View File

@@ -27,6 +27,7 @@
- Fix: [#25380] The Lay-down Roller Coaster left corkscrew supports are incorrect at one angle (original bug).
- Fix: [#25388] The Shortcut Keys window uses the wrong colours for separators, scrollbars and buttons.
- Fix: [#25401] Mazes can be built 2 units higher than their support limits.
- Fix: [#25404] Guests that have been removed with the remove all guests cheat will still be visible if they were sliding down the Spiral Slide.
0.4.27 (2025-10-04)
------------------------------------------------------------------------

View File

@@ -721,6 +721,7 @@ namespace OpenRCT2::GameActions
for (auto& ride : RideManager(gameState))
{
ride.numRiders = 0;
ride.slideInUse = 0;
for (auto& station : ride.getStations())
{

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 = 4;
constexpr uint8_t kStreamVersion = 5;
const std::string kStreamID = std::string(kOpenRCT2Version) + "-" + std::to_string(kStreamVersion);