Fixed another compiler warning.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2012-10-01 02:58:01 +00:00
parent 72d9c64430
commit 463088f022

View File

@@ -221,14 +221,13 @@ void CutsceneWorld::update(float dt)
}
else
{
// this way of calculating time and dt is more in line with what irrlicht does and
// provides better synchronisation
// this way of calculating time and dt is more in line with what
// irrlicht does andprovides better synchronisation
double prev_time = m_time;
double now = Time::getFloatTimeSinceEpoch();
m_time = now - m_time_at_second_reset;
dt = (m_time - prev_time);
dt = (float)(m_time - prev_time);
}
//m_time += dt;
if (m_time < 2.0f)