1
0
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:
Michał Janiszewski
2017-07-09 21:13:37 +02:00
committed by GitHub
parent d364b2824f
commit f89e56bbc4

View File

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