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:
hikerstk
2010-10-11 02:49:35 +00:00
parent 34a7a538fe
commit 2dad6ea54f

View File

@@ -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();