From 509938691440495a3d81fdcfb32b59b86b1ec9f2 Mon Sep 17 00:00:00 2001 From: Lyberta Date: Mon, 31 Jul 2017 03:20:15 +0300 Subject: [PATCH] Fixed int/float mismatch in teamplay.qh. --- qcsrc/server/teamplay.qh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/teamplay.qh b/qcsrc/server/teamplay.qh index 6d6ccbe2b..9c0b490b6 100644 --- a/qcsrc/server/teamplay.qh +++ b/qcsrc/server/teamplay.qh @@ -70,7 +70,7 @@ void GetTeamCounts(entity ignore); /// \return True if first team is smaller than the second one, false otherwise. /// \note This function assumes that CheckAllowedTeams and GetTeamCounts have /// been called. -bool IsTeamSmallerThanTeam(float teama, float teamb, entity e, bool usescore); +bool IsTeamSmallerThanTeam(int teama, int teamb, entity e, bool usescore); /// \brief Returns whether one team is equal to the other. /// \param[in] teama First team. @@ -80,7 +80,7 @@ bool IsTeamSmallerThanTeam(float teama, float teamb, entity e, bool usescore); /// \return True if first team is equal to the second one, false otherwise. /// \note This function assumes that CheckAllowedTeams and GetTeamCounts have /// been called. -bool IsTeamEqualToTeam(float teama, float teamb, entity e, bool usescore); +bool IsTeamEqualToTeam(int teama, int teamb, entity e, bool usescore); /// \brief Returns the bitmask of the best teams for the player to join. /// \param[in] player Player to check. -- 2.39.2