From c175f2450e2045a7c14cdd4bdc2b0ce179a189c6 Mon Sep 17 00:00:00 2001 From: Csaba Molnar Date: Sat, 15 Mar 2014 19:58:25 +0100 Subject: [PATCH] Tab fix --- src/achievements/achievement_info.hpp | 2 +- src/karts/skidding.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/achievements/achievement_info.hpp b/src/achievements/achievement_info.hpp index 65dae7772..5e52989bf 100644 --- a/src/achievements/achievement_info.hpp +++ b/src/achievements/achievement_info.hpp @@ -47,7 +47,7 @@ public: ACHIEVE_STRIKE = 2, ACHIEVE_ARCH_ENEMY = 3, ACHIEVE_MARATHONER = 4, - ACHIEVE_SKIDDING = 5 + ACHIEVE_SKIDDING = 5 }; /** Achievement check type: * ALL_AT_LEAST: All goal values must be reached (or exceeded). diff --git a/src/karts/skidding.cpp b/src/karts/skidding.cpp index c6e0d7720..0751bb68d 100644 --- a/src/karts/skidding.cpp +++ b/src/karts/skidding.cpp @@ -415,11 +415,11 @@ void Skidding::update(float dt, bool is_on_ground, bonus_force, bonus_time, /*fade-out-time*/ 1.0f); - StateManager::ActivePlayer *c = m_kart->getController()->getPlayer(); - if (c && c->getConstProfile() == PlayerManager::get()->getCurrentPlayer()) - { - 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()