No skidding backwards. Fixes 1013.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13014 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
8b9444430b
commit
c368706798
@ -197,6 +197,13 @@ void Skidding::update(float dt, bool is_on_ground,
|
||||
reset();
|
||||
return;
|
||||
}
|
||||
|
||||
// No skidding backwards or while stopped
|
||||
if(m_kart->getSpeed() < 0.001f)
|
||||
{
|
||||
reset();
|
||||
}
|
||||
|
||||
m_skid_bonus_ready = false;
|
||||
if (is_on_ground)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user