From 43d9db4db081888891051533ebc09334b8c2152b Mon Sep 17 00:00:00 2001 From: Benau Date: Wed, 5 Oct 2016 11:53:45 +0800 Subject: [PATCH] Fix acceleration and braking of ArenaAI --- src/karts/controller/arena_ai.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/karts/controller/arena_ai.cpp b/src/karts/controller/arena_ai.cpp index 0cec89df1..0785829ff 100644 --- a/src/karts/controller/arena_ai.cpp +++ b/src/karts/controller/arena_ai.cpp @@ -332,7 +332,6 @@ void ArenaAI::configSpeed() const float MIN_SPEED = 5.0f; const float handicap = (m_cur_difficulty == RaceManager::DIFFICULTY_EASY ? 0.7f : 1.0f ); - m_controls->setAccel(stk_config->m_ai_acceleration * handicap); const float max_turn_speed = m_kart->getSpeedForTurnRadius(m_turn_radius); if ((m_kart->getSpeed() > max_turn_speed || forceBraking()) &&