forked from rosebudai/OpenRCT2-Web
Update exit condition to prevent endless loop
This commit is contained in:
1 parent
d364b2824f
commit
f89e56bbc4
1 file changed
+2
-2
@@ -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