]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix a typographical error in a newly introduced team function name
authorMario <mario.mario@y7mail.com>
Thu, 6 Jan 2022 16:03:49 +0000 (02:03 +1000)
committerMario <mario.mario@y7mail.com>
Thu, 6 Jan 2022 16:03:49 +0000 (02:03 +1000)
qcsrc/common/gamemodes/gamemode/domination/sv_domination.qc
qcsrc/common/gamemodes/gamemode/onslaught/sv_onslaught.qc
qcsrc/server/teamplay.qc
qcsrc/server/teamplay.qh

index 80bbf6532a436011640e16ce6546f30172f8f090..7d3a02bfd60343729669009e2bc18f7f7ac96f98 100644 (file)
@@ -340,7 +340,7 @@ bool Domination_CheckWinner()
        }
 
        Domination_count_controlpoints();
-       int winner_team = Team_GetWinnerTeam_WIthOwnedItems(total_control_points);
+       int winner_team = Team_GetWinnerTeam_WithOwnedItems(total_control_points);
        if (winner_team == -1)
                return 0;
 
index c071be0e0e63108817b641c71402885dd2d92b67..7f2def318011cb2a17f497345a0ba09784483e75 100644 (file)
@@ -1188,7 +1188,7 @@ bool Onslaught_CheckWinner()
        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;
 
index 0bc7e7cbb6707956066873d7ea95fdbfdabb7997..61f250f12a757bc492e885971796987674407e3f 100644 (file)
@@ -120,7 +120,7 @@ int Team_GetNumberOfAliveTeams()
        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)
index a94b247a8a64150d78ba6c1ca52200ff16b70350..d96b7df4b25e9559172db0f4b741cad32886a9ed 100644 (file)
@@ -62,7 +62,7 @@ int Team_GetNumberOfAliveTeams();
 /// \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.