aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-22 09:45:19 -0600
committermegamage <none@none>2008-12-22 09:45:19 -0600
commita60bdfb9d41eeda01a2952c873fdd207758d0d87 (patch)
tree6f813623a9ff6761088b8ef5c4aa0c32246056fa
parent1c93644c0956a774b03a84d3a119a2e2697f5baa (diff)
*Try to fix the arena bug.
--HG-- branch : trunk
-rw-r--r--src/game/BattleGroundMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/BattleGroundMgr.cpp b/src/game/BattleGroundMgr.cpp
index 904a2f65a15..f830d9366b2 100644
--- a/src/game/BattleGroundMgr.cpp
+++ b/src/game/BattleGroundMgr.cpp
@@ -89,7 +89,7 @@ void BattleGroundQueue::EligibleGroups::Init(BattleGroundQueue::QueuedGroupsList
(*itr)->Players.size() <= MaxPlayers && // the group must fit in the bg
( !excludeTeam || (*itr)->ArenaTeamId != excludeTeam ) && // if excludeTeam is specified, leave out those arena team ids
( !IsRated || (*itr)->Players.size() == MaxPlayers ) && // if rated, then pass only if the player count is exact NEEDS TESTING! (but now this should never happen)
- ( (*itr)->JoinTime <= DisregardTime // pass if disregard time is greater than join time
+ ( DisregardTime && (*itr)->JoinTime <= DisregardTime // pass if disregard time is greater than join time
|| (*itr)->ArenaTeamRating == 0 // pass if no rating info
|| ( (*itr)->ArenaTeamRating >= MinRating // pass if matches the rating range
&& (*itr)->ArenaTeamRating <= MaxRating ) ) )