mirror of https://github.com/OpenRCT2/OpenRCT2.git
Update exit condition to prevent endless loop
This commit is contained in:
parent
d364b2824f
commit
f89e56bbc4
|
@ -8686,7 +8686,7 @@ void fix_invalid_vehicle_sprite_sizes()
|
|||
vehicleEntry == NULL ||
|
||||
vehicleEntry == (rct_ride_entry_vehicle*)-1)
|
||||
{
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
|
||||
if (vehicle->sprite_width == 0)
|
||||
|
@ -8705,4 +8705,4 @@ void fix_invalid_vehicle_sprite_sizes()
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue