mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 04:23:20 +01:00
Do not allow guests to slide down the Spiral Slide if it’s broken (#25403)
This commit is contained in:
@@ -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