Bugfix: releasing skidding was frame rate dependent.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
cf264418c7
commit
28effae153
@ -801,7 +801,8 @@ void Kart::updatePhysics (float dt)
|
||||
}
|
||||
else if(m_skidding>1.0f)
|
||||
{
|
||||
m_skidding *= m_kart_properties->getSkidDecrease();
|
||||
m_skidding -= m_kart_properties->getSkidDecrease()
|
||||
*dt/m_kart_properties->getTimeTillMaxSkid();
|
||||
if(m_skidding<1.0f) m_skidding=1.0f;
|
||||
}
|
||||
if(m_skidding>1.0f)
|
||||
|
Loading…
Reference in New Issue
Block a user