Fix fixed time (enable all frames)

This commit is contained in:
Kester Maddock
2004-11-06 22:10:58 +00:00
parent 9be296289c
commit f4efd433fa

View File

@@ -317,7 +317,7 @@ void KX_KetsjiEngine::NextFrame()
double curtime;
double localtime = m_previoustime;
if (m_bFixedTime)
curtime = m_previoustime + 0.1/m_ticrate;
curtime = m_previoustime + 1.0/m_ticrate;
else
curtime = m_kxsystem->GetTimeInSeconds();
m_deltatime += curtime - m_previoustime;