diff options
author | Machiavelli <none@none> | 2009-08-28 05:01:53 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2009-08-28 05:01:53 +0200 |
commit | 91c030334121e7cd3dfa99addb22a1b511c249e3 (patch) | |
tree | f533d7838e48f84533e36a8f50c8230f95411af2 /src/game/BattleGroundHandler.cpp | |
parent | 8cfc8a0f39d1428158349afdf1aa8717e9dc39e2 (diff) |
* Correctly show skirmish or rated icon when a player has entered arena queue.
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGroundHandler.cpp')
-rw-r--r-- | src/game/BattleGroundHandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/BattleGroundHandler.cpp b/src/game/BattleGroundHandler.cpp index cc6793b8575..3e7c453e300 100644 --- a/src/game/BattleGroundHandler.cpp +++ b/src/game/BattleGroundHandler.cpp @@ -732,7 +732,13 @@ void WorldSession::HandleBattlemasterJoinArena( WorldPacket & recv_data ) { sLog.outDebug("Battleground: arena join as group start"); if (isRated) + { sLog.outDebug("Battleground: arena team id %u, leader %s queued with rating %u for type %u",_player->GetArenaTeamId(arenaslot),_player->GetName(),arenaRating,arenatype); + bg->SetRated(true); + } + else + bg->SetRated(false); + for(GroupReference *itr = grp->GetFirstMember(); itr != NULL; itr = itr->next()) { Player *member = itr->getSource(); |