diff options
author | Nikolay <nickvnuk@gmail.com> | 2020-11-16 13:13:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-16 13:13:30 +0100 |
commit | b508458f372ba125c0d40d3f2aed27701b2cf7be (patch) | |
tree | 9ff7d4c46b603c02789def25b67caa81b76641b6 | |
parent | little fix to ps2 CPad (diff) | |
download | re3-b508458f372ba125c0d40d3f2aed27701b2cf7be.tar re3-b508458f372ba125c0d40d3f2aed27701b2cf7be.tar.gz re3-b508458f372ba125c0d40d3f2aed27701b2cf7be.tar.bz2 re3-b508458f372ba125c0d40d3f2aed27701b2cf7be.tar.lz re3-b508458f372ba125c0d40d3f2aed27701b2cf7be.tar.xz re3-b508458f372ba125c0d40d3f2aed27701b2cf7be.tar.zst re3-b508458f372ba125c0d40d3f2aed27701b2cf7be.zip |
-rw-r--r-- | src/control/CarCtrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp index 76ee47b0..627d7bad 100644 --- a/src/control/CarCtrl.cpp +++ b/src/control/CarCtrl.cpp @@ -2692,7 +2692,7 @@ void CCarCtrl::GenerateEmergencyServicesCar(void) float distance = 30.0f; CFire* pNearestFire = gFireManager.FindNearestFire(FindPlayerCoors(), &distance); if (pNearestFire) { - if (CountCarsOfType(MI_FIRETRUCK) < 2 && CTimer::GetTimeInMilliseconds() > LastTimeFireTruckCreated + 30000){ + if (CountCarsOfType(MI_FIRETRUCK) < 2 && CTimer::GetTimeInMilliseconds() > LastTimeFireTruckCreated + 35000){ CStreaming::RequestModel(MI_FIRETRUCK, STREAMFLAGS_DEPENDENCY); CStreaming::RequestModel(MI_FIREMAN, STREAMFLAGS_DONT_REMOVE); if (CStreaming::HasModelLoaded(MI_FIRETRUCK) && CStreaming::HasModelLoaded(MI_FIREMAN)){ |