Do not allow guests to slide down the Spiral Slide if it’s broken (#25403)

This commit is contained in:
matheusvb3 authored and GitHub committed 2025-12-12 18:56:14 +00:00
1 parent 0d4893e990
commit cc0f83081b
3 files changed
+3 -2

No files matched your search

+1
View File
@@ -7,6 +7,7 @@
- Improved: [#25621] Added the Polish Złoty (PLN) to the list of available currencies.
- Improved: [#25625] Renewing and refurbishing rides now also resets the downtime.
- Change: [#21912] Toilet income is now categorised as shop sales instead of ride tickets.
- Change: [#25403] Guests will not slide down the Spiral Slide if it's broken, even if they have already entered the ride structure.
- Change: [#25485] Make the enlarged pressed swatch sprite more pronounced.
- Change: [#25544] The default game window size is now 1280×720px instead of 640×480px.
- Fix: [#9895] Stand-up coaster gets wrong intensity boost from the synchronisation bonus.
+1 -1
View File
@@ -4804,7 +4804,7 @@ void Guest::UpdateRideOnSpiralSlide()
return;
case PeepSpiralSlideSubState::prepareToSlide:
if (ride->slideInUse)
if (ride->slideInUse || ride->lifecycleFlags & RIDE_LIFECYCLE_BROKEN_DOWN)
return;
ride->slideInUse = 1;
+1 -1
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);