1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00

Fix crashes in ride with more than 12 cars per train

This commit is contained in:
Michael Steenbeek
2016-10-03 22:58:52 +02:00
committed by Ted John
parent 3cbf06c886
commit 52e5506d9a

View File

@@ -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)