This commit is contained in:
Nikolay Korolev 2020-05-09 00:00:06 +03:00
parent 3d394c2f95
commit 46d891b745

View file

@ -298,6 +298,7 @@ CCarCtrl::GenerateOneRandomCar()
CStreaming::RequestModel(MI_PREDATOR, STREAMFLAGS_DEPENDENCY); CStreaming::RequestModel(MI_PREDATOR, STREAMFLAGS_DEPENDENCY);
return; return;
} }
}
else { else {
int i; int i;
carModel = -1; carModel = -1;
@ -312,7 +313,6 @@ CCarCtrl::GenerateOneRandomCar()
return; return;
} }
} }
}
int16 colliding; int16 colliding;
CWorld::FindObjectsKindaColliding(spawnPosition, bBoatGenerated ? 40.0f : 10.0f, true, &colliding, 2, nil, false, true, true, false, false); CWorld::FindObjectsKindaColliding(spawnPosition, bBoatGenerated ? 40.0f : 10.0f, true, &colliding, 2, nil, false, true, true, false, false);
if (colliding) if (colliding)