From 418bf3ab6922f9014400757a4a3d2123f280b463 Mon Sep 17 00:00:00 2001 From: erorcun Date: Sun, 1 Aug 2021 13:56:24 +0300 Subject: [PATCH] Fix R* optimization that prevents peds to spawn --- src/core/Game.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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();