QTfrontend/teamselect.cpp
changeset 387 66345e38826d
parent 384 29299ca39155
child 482 61c617f1bec7
equal deleted inserted replaced
386:21eeb5ac0486 387:66345e38826d
   126     curPlayingTeams.erase(itPlay);
   126     curPlayingTeams.erase(itPlay);
   127   } else {
   127   } else {
   128     // return if max playing teams reached
   128     // return if max playing teams reached
   129     if(framePlaying->isFullTeams()) return;
   129     if(framePlaying->isFullTeams()) return;
   130     // dont playing team => playing
   130     // dont playing team => playing
       
   131     itDontPlay->teamColor=framePlaying->getNextColor();
   131     curPlayingTeams.push_back(*itDontPlay);
   132     curPlayingTeams.push_back(*itDontPlay);
   132     if(!m_acceptOuter) emit teamWillPlay(*itDontPlay);
   133     if(!m_acceptOuter) emit teamWillPlay(*itDontPlay);
   133     curDontPlayingTeams.erase(itDontPlay);
   134     curDontPlayingTeams.erase(itDontPlay);
   134   }
   135   }
   135 
   136