diff --git a/src/karts/controller/end_controller.cpp b/src/karts/controller/end_controller.cpp index 6d8a0b2fc..02b1f6be8 100644 --- a/src/karts/controller/end_controller.cpp +++ b/src/karts/controller/end_controller.cpp @@ -104,7 +104,6 @@ EndController::EndController(AbstractKart *kart, #ifdef AI_DEBUG m_debug_sphere = irr_driver->getSceneManager()->addSphereSceneNode(1); #endif - m_kart->setSlowdown(MaxSpeed::MS_DECREASE_AI, 0.3f, 2); // Set the name of the previous controller as this controller name, otherwise // we get the incorrect name when printing statistics in profile mode. @@ -195,6 +194,9 @@ void EndController::update(int ticks) m_controls->setBrake(m_kart->getSpeed()>0); return; } + // Keep update slow down in case for network rewind overwrite it + m_kart->setSlowdown(MaxSpeed::MS_DECREASE_AI, 0.3f, 2); + /*Get information that is needed by more than 1 of the handling funcs*/ //Detect if we are going to crash with the track and/or kart calcSteps();