mirror of
https://github.com/GTAmodding/re3.git
synced 2025-02-22 22:14:52 +00:00
Timer fix
This commit is contained in:
parent
e5aa150557
commit
4660491243
1 changed files with 4 additions and 0 deletions
|
@ -188,6 +188,10 @@ void CTimer::Update(void)
|
||||||
#endif
|
#endif
|
||||||
ms_fTimeStep = frameTime / 1000.0f * 50.0f;
|
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)
|
if ( ms_fTimeStep < 0.01f && !GetIsPaused() && !CSpecialFX::bSnapShotActive)
|
||||||
|
|
Loading…
Add table
Reference in a new issue