Completely brake the AI karts in goal phase.
This commit is contained in:
parent
5c81a2a3e7
commit
cbc9353210
@ -99,6 +99,7 @@ void SoccerAI::update(float dt)
|
||||
m_saving_ball = false;
|
||||
if (World::getWorld()->getPhase() == World::GOAL_PHASE)
|
||||
{
|
||||
m_controls->m_brake = false;
|
||||
m_controls->m_accel = 0.0f;
|
||||
AIBaseController::update(dt);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user