Removed debug output (since this code can now be executed

in case that people play with many many karts).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-09-09 01:10:11 +00:00
parent d0896de07e
commit f031b0473a

View File

@ -380,7 +380,6 @@ std::vector<std::string> KartPropertiesManager::getRandomKartList(int count,
{
for(unsigned int i=0; i<getNumberOfKarts(); i++)
{
std::cout << "Refill : i=" << i << ", used[i]=" << used[i] << ", m_kart_available[i]=" << m_kart_available[i] << std::endl;
if(!used[i] && m_kart_available[i] &&
!unlock_manager->isLocked(m_karts_properties[i]->getIdent()) )
karts.push_back(i);
@ -393,7 +392,6 @@ std::vector<std::string> KartPropertiesManager::getRandomKartList(int count,
{
for(unsigned int i=0; i<getNumberOfKarts(); i++)
{
std::cout << "Refill : i=" << i << ", used[i]=" << used[i] << ", m_kart_available[i]=" << m_kart_available[i] << std::endl;
if(m_kart_available[i] &&
!unlock_manager->isLocked(m_karts_properties[i]->getIdent()) )
karts.push_back(i);