diff --git a/src/karts/skidding.cpp b/src/karts/skidding.cpp index 94e517fc1..c6e0d7720 100644 --- a/src/karts/skidding.cpp +++ b/src/karts/skidding.cpp @@ -22,7 +22,7 @@ # include "graphics/show_curve.hpp" #endif #include "achievements/achievement_info.hpp" -#include "config\player_manager.hpp" +#include "config/player_manager.hpp" #include "karts/kart.hpp" #include "karts/kart_gfx.hpp" #include "karts/kart_properties.hpp" @@ -414,7 +414,12 @@ void Skidding::update(float dt, bool is_on_ground, bonus_speed, bonus_speed, bonus_force, bonus_time, /*fade-out-time*/ 1.0f); - PlayerManager::increaseAchievement(AchievementInfo::ACHIEVE_SKIDDING, "skidding"); + + StateManager::ActivePlayer *c = m_kart->getController()->getPlayer(); + if (c && c->getConstProfile() == PlayerManager::get()->getCurrentPlayer()) + { + PlayerManager::increaseAchievement(AchievementInfo::ACHIEVE_SKIDDING, "skidding"); + } } else { m_kart->getKartGFX()