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 { else {
int i; int i;
carModel = -1; 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)); carModel = ChooseBoatModel(ChooseBoatRating(&zone));
} }
if (i == 0) if (i == 0)