diff --git a/src/karts/controller/ai_base_controller.cpp b/src/karts/controller/ai_base_controller.cpp index 6475814c2..cda85b27f 100644 --- a/src/karts/controller/ai_base_controller.cpp +++ b/src/karts/controller/ai_base_controller.cpp @@ -134,7 +134,7 @@ float AIBaseController::steerToPoint(const Vec3 &point) * \param angle Angle to normalise. * \return Normalised angle. */ -inline float AIBaseController::normalizeAngle(float angle) +float AIBaseController::normalizeAngle(float angle) { while( angle > 2*M_PI ) angle -= 2*M_PI; while( angle < -2*M_PI ) angle += 2*M_PI;