| 126 | } |
| 127 | |
| 128 | static int teamscorecmp(const teamscore *x, const teamscore *y) |
| 129 | { |
| 130 | if(x->flagscore > y->flagscore) return -1; |
| 131 | if(x->flagscore < y->flagscore) return 1; |
| 132 | if(x->frags > y->frags) return -1; |
| 133 | if(x->frags < y->frags) return 1; |
| 134 | if(x->deaths < y->deaths) return -1; |
| 135 | return 0; |
| 136 | } |
| 137 | |
| 138 | static int scorecmp(playerent **x, playerent **y) |
| 139 | { |
no outgoing calls
no test coverage detected