diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-05 19:22:13 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-05 19:22:13 +0200 |
commit | 918d6dbf56c78f75ea74cc0f8fbca92dc55bcd86 (patch) | |
tree | 22572d094b688402dc4039171a083b39049a82c4 /src/control/CarCtrl.cpp | |
parent | skipped one def (diff) | |
download | re3-918d6dbf56c78f75ea74cc0f8fbca92dc55bcd86.tar re3-918d6dbf56c78f75ea74cc0f8fbca92dc55bcd86.tar.gz re3-918d6dbf56c78f75ea74cc0f8fbca92dc55bcd86.tar.bz2 re3-918d6dbf56c78f75ea74cc0f8fbca92dc55bcd86.tar.lz re3-918d6dbf56c78f75ea74cc0f8fbca92dc55bcd86.tar.xz re3-918d6dbf56c78f75ea74cc0f8fbca92dc55bcd86.tar.zst re3-918d6dbf56c78f75ea74cc0f8fbca92dc55bcd86.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/CarCtrl.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp index f0f95941..39285296 100644 --- a/src/control/CarCtrl.cpp +++ b/src/control/CarCtrl.cpp @@ -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; } |