Fixed compilation in case of non-debug compilation when
DEBUG_KART_RANK is defined. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -707,6 +707,7 @@ void LinearWorld::updateRacePosition()
|
||||
|
||||
// Define this to get a detailled analyses each time a race position
|
||||
// changes.
|
||||
#ifdef DEBUG
|
||||
#undef DEBUG_KART_RANK
|
||||
#ifdef DEBUG_KART_RANK
|
||||
if(rank_changed)
|
||||
@@ -757,6 +758,7 @@ void LinearWorld::updateRacePosition()
|
||||
} // for i<kart_amount
|
||||
std::cout << "-------------------------------------------\n";
|
||||
} // if rank_changed
|
||||
#endif
|
||||
#endif
|
||||
|
||||
endSetKartPositions();
|
||||
|
||||
Reference in New Issue
Block a user