Fix R* optimization that prevents peds to spawn

This commit is contained in:
erorcun 2021-08-01 13:56:24 +03:00
parent 192190769d
commit 418bf3ab69
1 changed files with 6 additions and 0 deletions

View File

@ -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();