Rollback part of the recently merged PR that did not belong with AI changes

This commit is contained in:
auria.mg 2018-03-31 21:16:25 -04:00
parent 8fae521a94
commit c488c63d38

View File

@ -2460,9 +2460,6 @@ void Kart::updateEnginePowerAndBrakes(float dt)
updateNitro(dt);
float engine_power = getActualWheelForce();
// apply nitro boost if relevant
if(getSpeedIncreaseTimeLeft(MaxSpeed::MS_INCREASE_NITRO))
engine_power*=1.2f;
// apply parachute physics if relevant
if(m_attachment->getType()==Attachment::ATTACH_PARACHUTE)
engine_power*=0.2f;