equal
deleted
inserted
replaced
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 |