mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 09:49:03 +00:00
fix
This commit is contained in:
parent
3d394c2f95
commit
46d891b745
1 changed files with 12 additions and 12 deletions
|
@ -298,19 +298,19 @@ CCarCtrl::GenerateOneRandomCar()
|
||||||
CStreaming::RequestModel(MI_PREDATOR, STREAMFLAGS_DEPENDENCY);
|
CStreaming::RequestModel(MI_PREDATOR, STREAMFLAGS_DEPENDENCY);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else {
|
}
|
||||||
int i;
|
else {
|
||||||
carModel = -1;
|
int i;
|
||||||
for (i = 10; i > 0 && (carModel == -1 || CStreaming::HasModelLoaded(carModel)); i--) {
|
carModel = -1;
|
||||||
carModel = ChooseBoatModel(ChooseBoatRating(&zone));
|
for (i = 10; i > 0 && (carModel == -1 || CStreaming::HasModelLoaded(carModel)); i--) {
|
||||||
}
|
carModel = ChooseBoatModel(ChooseBoatRating(&zone));
|
||||||
if (i == 0)
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (pCurNode->bOnlySmallBoats || pNextNode->bOnlySmallBoats) {
|
|
||||||
if (BoatWithTallMast(carModel))
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
if (i == 0)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (pCurNode->bOnlySmallBoats || pNextNode->bOnlySmallBoats) {
|
||||||
|
if (BoatWithTallMast(carModel))
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
int16 colliding;
|
int16 colliding;
|
||||||
|
|
Loading…
Reference in a new issue