add pref ConstantUpdateDeltaSeconds

This commit is contained in:
Chris Danford
2004-07-28 16:04:19 +00:00
parent 5c14019f77
commit 9da7a69cb1
3 changed files with 10 additions and 0 deletions
+3
View File
@@ -1496,6 +1496,9 @@ static void GameLoop()
* Update
*/
float fDeltaTime = timer.GetDeltaTime();
if( PREFSMAN->m_fConstantUpdateDeltaSeconds > 0 )
fDeltaTime = PREFSMAN->m_fConstantUpdateDeltaSeconds;
CheckSkips( fDeltaTime );