Timer fix

This commit is contained in:
Sergeanur 2021-06-25 02:22:07 +03:00
parent e5aa150557
commit 4660491243

View File

@ -188,6 +188,10 @@ void CTimer::Update(void)
#endif
ms_fTimeStep = frameTime / 1000.0f * 50.0f;
}
#ifdef FIX_BUGS
frameTimeFraction -= uint32(frameTimeFraction);
frameTimeFractionScaled -= uint32(frameTimeFractionScaled);
#endif
}
if ( ms_fTimeStep < 0.01f && !GetIsPaused() && !CSpecialFX::bSnapShotActive)