Fixed compiler warning.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2013-10-28 21:40:19 +00:00
parent e8cbca9e51
commit 86ffab7c8c

View File

@@ -117,8 +117,8 @@ void Skidding::updateSteering(float steer, float dt)
break;
case SKID_BREAK:
m_real_steering = steer;
if (m_visual_rotation > 0.05f) m_visual_rotation -= 0.05;
else if (m_visual_rotation < -0.05f) m_visual_rotation += 0.05;
if (m_visual_rotation > 0.05f) m_visual_rotation -= 0.05f;
else if (m_visual_rotation < -0.05f) m_visual_rotation += 0.05f;
else
{
m_visual_rotation = 0;