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 team=*itDontPlay; // for net team info saving in framePlaying (we have only name with netID from network) |
131 itDontPlay->teamColor=framePlaying->getNextColor(); |
132 itDontPlay->teamColor=framePlaying->getNextColor(); |
132 curPlayingTeams.push_back(*itDontPlay); |
133 curPlayingTeams.push_back(*itDontPlay); |
133 if(!m_acceptOuter) emit teamWillPlay(*itDontPlay); |
134 if(!m_acceptOuter) emit teamWillPlay(*itDontPlay); |
134 curDontPlayingTeams.erase(itDontPlay); |
135 curDontPlayingTeams.erase(itDontPlay); |
135 } |
136 } |