This commit is contained in:
Nikolay Korolev 2020-05-09 00:07:35 +03:00
parent 46d891b745
commit e30b538cd3

View File

@ -302,7 +302,7 @@ CCarCtrl::GenerateOneRandomCar()
else {
int i;
carModel = -1;
for (i = 10; i > 0 && (carModel == -1 || CStreaming::HasModelLoaded(carModel)); i--) {
for (i = 10; i > 0 && (carModel == -1 || !CStreaming::HasModelLoaded(carModel)); i--) {
carModel = ChooseBoatModel(ChooseBoatRating(&zone));
}
if (i == 0)