mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 16:04:09 +00:00
some more miami
This commit is contained in:
parent
6b4b708fa7
commit
918d6dbf56
3 changed files with 29 additions and 4 deletions
|
@ -90,14 +90,16 @@ uint32 aCarsToKeepTime[MAX_CARS_TO_KEEP];
|
|||
void
|
||||
CCarCtrl::GenerateRandomCars()
|
||||
{
|
||||
if (CCutsceneMgr::IsRunning())
|
||||
if (CCutsceneMgr::IsRunning()) {
|
||||
CountDownToCarsAtStart = 2;
|
||||
return;
|
||||
}
|
||||
if (NumRandomCars < 30){
|
||||
if (CountDownToCarsAtStart == 0){
|
||||
GenerateOneRandomCar();
|
||||
}
|
||||
else if (--CountDownToCarsAtStart == 0) {
|
||||
for (int i = 0; i < 50; i++)
|
||||
for (int i = 0; i < 100; i++)
|
||||
GenerateOneRandomCar();
|
||||
CTheCarGenerators::GenerateEvenIfPlayerIsCloseCounter = 20;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue