return result;
}
-int Team_GetWinnerTeam_WIthOwnedItems(int min_control_points)
+int Team_GetWinnerTeam_WithOwnedItems(int min_control_points)
{
int winner = 0;
for (int i = 0; i < NUM_TEAMS; ++i)
}
int team_num;
// TODO: Reconsider when the player is truly on the team.
- if (IS_CLIENT(it) || (it.caplayer))
+ if (IS_CLIENT(it) || INGAME(it))
{
team_num = it.team;
}