diff options
author | maximius <none@none> | 2009-09-14 16:49:23 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-09-14 16:49:23 -0700 |
commit | 140ec674a040bdc04086472330a289c2d15ecc65 (patch) | |
tree | 343ac40e805c3139a2bc1bd80e956e89c5a1653c /src/game/BattleGround.cpp | |
parent | b37f9b1e55bd4b80597b8b8c3f461aad70ccc5c1 (diff) |
Backed out changeset d3fe2d6d504a (please test your patches thoroughly before getting me to push them ogeraisi)
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGround.cpp')
-rw-r--r-- | src/game/BattleGround.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp index 7163a9874f8..8ac19588b7c 100644 --- a/src/game/BattleGround.cpp +++ b/src/game/BattleGround.cpp @@ -1906,6 +1906,5 @@ WorldSafeLocsEntry const* BattleGround::GetClosestGraveYard( Player* player ) bool BattleGround::IsTeamScoreInRange(uint32 team, uint32 minScore, uint32 maxScore) const { BattleGroundTeamId team_idx = GetTeamIndexByTeamId(team); - uint32 score = (m_TeamScores[team_idx] < 0) ? 0 : uint32(m_TeamScores[team_idx]); - return score >= minScore && score <= maxScore; + return m_TeamScores[team_idx] >= minScore && m_TeamScores[team_idx] <= maxScore; } |