Allow instantSpeedIncrease use from Kart

This commit is contained in:
Alayan-stk-2 2018-04-13 04:34:45 +02:00 committed by GitHub
parent c490db927b
commit 7e0bb71d64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -466,6 +466,15 @@ void Kart::increaseMaxSpeed(unsigned int category, float add_speed,
fade_out_time);
} // increaseMaxSpeed
// -----------------------------------------------------------------------------
void Kart::instantSpeedIncrease(unsigned int category, float add_max_speed,
float speed_boost, float engine_force, float duration,
float fade_out_time)
{
m_max_speed->instantSpeedIncrease(category, add_max_speed, speed_boost,
engine_force, duration, fade_out_time);
} // instantSpeedIncrease
// -----------------------------------------------------------------------------
void Kart::setSlowdown(unsigned int category, float max_speed_fraction,
float fade_in_time)