mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +01:00
Fix #17865: Unopened rides contribute to difficult guest cap
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
- Fix: [#17897] Guest can get stuck on tiles with construction rights outside the park.
|
||||
- Fix: [#17905] The chain button in the map window is enabled for rectangular maps when (re)opened.
|
||||
- Fix: [#17931] The in-game command ‘count_objects’ crashes the game.
|
||||
- Fix: [#17865] With difficult guest generation, tested but unopened rides still contribute to the guest cap.
|
||||
- Fix: [#17866] [Plugin] Wrong Soft Guest Cap at start of new game
|
||||
|
||||
0.4.1 (2022-07-04)
|
||||
|
||||
@@ -570,6 +570,8 @@ uint32_t Park::CalculateSuggestedMaxGuests() const
|
||||
suggestedMaxGuests = std::min<uint32_t>(suggestedMaxGuests, 1000);
|
||||
for (auto& ride : GetRideManager())
|
||||
{
|
||||
if (ride.status != RideStatus::Open)
|
||||
continue;
|
||||
if (ride.lifecycle_flags & RIDE_LIFECYCLE_CRASHED)
|
||||
continue;
|
||||
if (ride.lifecycle_flags & RIDE_LIFECYCLE_BROKEN_DOWN)
|
||||
|
||||
Reference in New Issue
Block a user