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:
@@ -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
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user