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:
parent
d0896de07e
commit
f031b0473a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user