mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 15:24:30 +01:00
Fix #9813: Crashes on loaded save game
Because ride bool array was not passed by reference, game though all rides had no track and reset their type on export.
This commit is contained in:
@@ -646,7 +646,7 @@ void scenario_fix_ghosts(rct_s6_data* s6)
|
||||
}
|
||||
}
|
||||
|
||||
static void ride_all_has_any_track_elements(std::array<bool, RCT12_MAX_RIDES_IN_PARK> rideIndexArray)
|
||||
static void ride_all_has_any_track_elements(std::array<bool, RCT12_MAX_RIDES_IN_PARK> &rideIndexArray)
|
||||
{
|
||||
tile_element_iterator it;
|
||||
tile_element_iterator_begin(&it);
|
||||
|
||||
Reference in New Issue
Block a user