mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Do not allow guests to slide down the Spiral Slide if it’s broken (#25403)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user