*fix arena join if start rating is set to 0

note: rating == 0 is used by BattlegroundQueue for update stuff

--HG--
branch : trunk
This commit is contained in:
Rat
2010-04-17 12:36:41 +02:00
parent 746e170e2b
commit 6e0fa4b39e

View File

@@ -701,6 +701,9 @@ void WorldSession::HandleBattlemasterJoinArena(WorldPacket & recv_data)
arenaRating = avg_pers_rating;
}
if (arenaRating <= 0)
arenaRating = 1;
BattleGroundQueue &bgQueue = sBattleGroundMgr.m_BattleGroundQueues[bgQueueTypeId];
if (asGroup)
{