mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 21:43:06 +01:00
Update exit condition to prevent endless loop
This commit is contained in:
committed by
GitHub
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()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user