1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-23 17:45:28 +00:00

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

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