equal
deleted
inserted
replaced
33 // playing team => dont playing |
33 // playing team => dont playing |
34 curDontPlayingTeams.push_back(*itPlay); |
34 curDontPlayingTeams.push_back(*itPlay); |
35 curPlayingTeams.erase(itPlay); |
35 curPlayingTeams.erase(itPlay); |
36 } else { |
36 } else { |
37 // return if max playing teams reached |
37 // return if max playing teams reached |
38 if(curPlayingTeams.size()>2) return; |
38 if(framePlaying->isFullTeams()) return; |
39 // dont playing team => playing |
39 // dont playing team => playing |
40 curPlayingTeams.push_back(*itDontPlay); |
40 curPlayingTeams.push_back(*itDontPlay); |
41 curDontPlayingTeams.erase(itDontPlay); |
41 curDontPlayingTeams.erase(itDontPlay); |
42 } |
42 } |
43 |
43 |