diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-08-01 12:56:24 +0200 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-08-01 12:56:24 +0200 |
commit | 418bf3ab6922f9014400757a4a3d2123f280b463 (patch) | |
tree | 93589ebfc2b9ef71b71afe9a45369d55127807eb /src/core | |
parent | Add ped and car density slider to menu, remove dumb collision "optimization" (diff) | |
download | re3-418bf3ab6922f9014400757a4a3d2123f280b463.tar re3-418bf3ab6922f9014400757a4a3d2123f280b463.tar.gz re3-418bf3ab6922f9014400757a4a3d2123f280b463.tar.bz2 re3-418bf3ab6922f9014400757a4a3d2123f280b463.tar.lz re3-418bf3ab6922f9014400757a4a3d2123f280b463.tar.xz re3-418bf3ab6922f9014400757a4a3d2123f280b463.tar.zst re3-418bf3ab6922f9014400757a4a3d2123f280b463.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/Game.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp index bdee936f..3a8cdb06 100644 --- a/src/core/Game.cpp +++ b/src/core/Game.cpp @@ -903,7 +903,13 @@ void CGame::Process(void) CEventList::Update(); CParticle::Update(); gFireManager.Update(); + + // Otherwise even on 30 fps most probably you won't see any peds around Ocean View Hospital +#if defined FIX_BUGS && !defined SQUEEZE_PERFORMANCE + if (processTime > 2) { +#else if (processTime >= 2) { +#endif CPopulation::Update(false); } else { uint32 startTime = CTimer::GetCurrentTimeInCycles() / CTimer::GetCyclesPerMillisecond(); |