]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/teams.qh
Teamplay: Removed most global variables.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / teams.qh
index 57d644c0448549e13bff834f7cb6fd289d983cc3..032aa38d605bdb7dd89a16e31a9d1e815e5ea7d5 100644 (file)
@@ -143,12 +143,12 @@ bool Team_IsValidTeam(int team_)
        return false;
 }
 
-/// \brief Returns whether team number is valid.
-/// \param[in] number Team number to check.
-/// \return True if team number is valid, false otherwise.
-bool Team_IsValidNumber(int number)
+/// \brief Returns whether the team index is valid.
+/// \param[in] index Team index to check.
+/// \return True if team index is valid, false otherwise.
+bool Team_IsValidIndex(int index)
 {
-       switch (number)
+       switch (index)
        {
                case 1:
                case 2: