Bugfix: the new skidding still applied a slowdown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
fb7c95dd66
commit
1b53fc70ab
@ -1753,7 +1753,8 @@ void Kart::updateEnginePowerAndBrakes(float dt)
|
||||
engine_power *= 5.0f;
|
||||
|
||||
// Lose some traction when skidding, to balance the advantage
|
||||
if(m_controls.m_skid)
|
||||
if(m_controls.m_skid &&
|
||||
m_kart_properties->getSkiddingProperties()->getSkidVisualTime()==0)
|
||||
engine_power *= 0.5f;
|
||||
|
||||
applyEngineForce(engine_power*m_controls.m_accel);
|
||||
|
Loading…
Reference in New Issue
Block a user