Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5537 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
e22d03d4bd
commit
c672b8d2df
@ -80,7 +80,6 @@ DefaultAIController::DefaultAIController(Kart *kart) : AIBaseController(kart)
|
||||
int current = i;
|
||||
for(unsigned int j=0; j<look_ahead; j++)
|
||||
{
|
||||
int next = m_next_node_index[current];
|
||||
l.push_back(m_next_node_index[current]);
|
||||
current = m_next_node_index[current];
|
||||
} // for j<look_ahead
|
||||
|
@ -78,7 +78,6 @@ EndController::EndController(Kart *kart, StateManager::ActivePlayer *player)
|
||||
int current = i;
|
||||
for(unsigned int j=0; j<look_ahead; j++)
|
||||
{
|
||||
int next = m_next_node_index[current];
|
||||
l.push_back(m_next_node_index[current]);
|
||||
current = m_next_node_index[current];
|
||||
} // for j<look_ahead
|
||||
|
@ -80,7 +80,6 @@ NewAIController::NewAIController(Kart *kart) : AIBaseController(kart)
|
||||
int current = i;
|
||||
for(unsigned int j=0; j<look_ahead; j++)
|
||||
{
|
||||
int next = m_next_node_index[current];
|
||||
l.push_back(m_next_node_index[current]);
|
||||
current = m_next_node_index[current];
|
||||
} // for j<look_ahead
|
||||
|
Loading…
x
Reference in New Issue
Block a user