Fixed bug related to neutral gear braking.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -766,7 +766,8 @@ void Kart::updatePhysics (float dt)
|
||||
m_vehicle->applyEngineForce(-m_controls.accel*engine_power*0.1f, 2);
|
||||
m_vehicle->applyEngineForce(-m_controls.accel*engine_power*0.1f, 3);
|
||||
|
||||
resetBrakes();
|
||||
if(!RaceManager::getWorld()->isStartPhase())
|
||||
resetBrakes();
|
||||
m_reverse_allowed = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user