]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/teams.qh
Merge branch 'master' into Lyberta/TeamplayOverhaul
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / teams.qh
index 88666db0e836a1b3592987d969eed7b091cfd940..1a2e1b1766febc7cb404dbe5e02f03bf1b2a7e71 100644 (file)
@@ -179,11 +179,11 @@ int Team_IndexToTeam(int index)
 }
 
 /// \brief Converts team value into team index.
-/// \param[in] team_ Team value to convert.
+/// \param[in] team_num Team value to convert.
 /// \return Team index.
-int Team_TeamToIndex(int team_)
+int Team_TeamToIndex(int team_num)
 {
-       switch (team_)
+       switch (team_num)
        {
                case NUM_TEAM_1: return 1;
                case NUM_TEAM_2: return 2;