mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix crashes in ride with more than 12 cars per train
This commit is contained in:
parent
3cbf06c886
commit
52e5506d9a
|
@ -2272,7 +2272,7 @@ static void peep_update_ride_sub_state_0(rct_peep* peep){
|
|||
}
|
||||
|
||||
uint8 car_array_size = 0xFF;
|
||||
uint8 car_array[12];
|
||||
uint8 car_array[255];
|
||||
|
||||
if (ride_type_has_flag(ride->type, RIDE_TYPE_FLAG_13)){
|
||||
if (ride->num_riders >= ride->operation_option)
|
||||
|
|
Loading…
Reference in New Issue