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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user