mirror of https://github.com/OpenRCT2/OpenRCT2.git
This commit is contained in:
parent
ff46481453
commit
80933dc0cc
|
@ -12,6 +12,7 @@
|
|||
- Fix: [#5451] Guests scream on every descent, no matter how small.
|
||||
- Fix: [#6119] Advertising campaign for ride window not updated properly (original bug).
|
||||
- Fix: [#7006] Submarine Ride is in the wrong research group.
|
||||
- Fix: [#11002] Rides list shows both red and green light activated.
|
||||
- Fix: [#11072] Land and water tools working out of bounds (original bug).
|
||||
- Fix: [#11259] Custom JSON object breaks saves.
|
||||
- Fix: [#11290] Perform funds checking for all peeps entering a ride.
|
||||
|
|
|
@ -530,9 +530,9 @@ static void window_ride_list_invalidate(rct_window* w)
|
|||
w->widgets[WIDX_OPEN_LIGHT].type = WWT_IMGBTN;
|
||||
|
||||
const auto& rideManager = GetRideManager();
|
||||
auto allClosed = false;
|
||||
auto allClosed = true;
|
||||
auto allOpen = false;
|
||||
if (std::size(rideManager) != 0)
|
||||
if (w->no_list_items > 0 && std::size(rideManager) != 0)
|
||||
{
|
||||
auto c = static_cast<RideClassification>(w->page);
|
||||
allClosed = std::none_of(rideManager.begin(), rideManager.end(), [c](const Ride& ride) {
|
||||
|
|
Loading…
Reference in New Issue