diff --git a/src/karts/kart.cpp b/src/karts/kart.cpp index a4b198ea1..949fd15ba 100644 --- a/src/karts/kart.cpp +++ b/src/karts/kart.cpp @@ -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)