else { wpforenemy_announced = false; ons_stalemate = false; }
Onslaught_count_generators();
- int winner_team = Team_GetWinnerTeam_WIthOwnedItems(1);
+ int winner_team = Team_GetWinnerTeam_WithOwnedItems(1);
if (!winner_team)
return 0;
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)
/// \brief Returns the winner team.
/// \param[in] min_owned_items Minimum number of items the winner team must have.
/// \return Winner team or 0 if 2 or more teams own items or -1 if no team own any items.
-int Team_GetWinnerTeam_WIthOwnedItems(int min_owned_items);
+int Team_GetWinnerTeam_WithOwnedItems(int min_owned_items);
/// \brief Returns the number of items owned by a team.
/// \param[in] team_ent Team entity.