Fixed bug introduced in r11132: the AI selected to fire, but

didn't call the (now necessary) onFirePressed function in kart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2012-05-15 23:49:04 +00:00
parent e5c33f58ff
commit 800d448fe3

View File

@@ -161,6 +161,8 @@ void AIBaseController::update(float dt)
m_next_node_index[m_track_node]==-1)
m_track_node = old_node;
}
if(m_controls->m_fire)
m_kart->onFirePressed();
} // update
//-----------------------------------------------------------------------------