Removed VS compiler warning.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3876 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2009-08-17 09:58:39 +00:00
parent ae15f8a18e
commit 91613632ff

View File

@ -426,7 +426,7 @@ void btKart::updateFriction(btScalar timeStep)
{
if (wheel==2 || wheel==3)
{
m_forwardImpulse[wheel] = 0.5*(m_zipper_velocity - getRigidBody()->getLinearVelocity().length()) / m_chassisBody->getInvMass();
m_forwardImpulse[wheel] = 0.5f*(m_zipper_velocity - getRigidBody()->getLinearVelocity().length()) / m_chassisBody->getInvMass();
}
}
else