Created
December 23, 2011 17:15
-
-
Save walkline/1514814 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/server/game/Battlegrounds/BattlegroundQueue.cpp b/src/server/game/Battlegrounds/BattlegroundQueue.cpp | |
index 0d76759..8bd9a0a 100755 | |
--- a/src/server/game/Battlegrounds/BattlegroundQueue.cpp | |
+++ b/src/server/game/Battlegrounds/BattlegroundQueue.cpp | |
@@ -166,6 +166,14 @@ GroupQueueInfo* BattlegroundQueue::AddGroup(Player* leader, Group* grp, Battlegr | |
sWorld->SendWorldText(LANG_ARENA_QUEUE_ANNOUNCE_WORLD_JOIN, Team->GetName().c_str(), ginfo->ArenaType, ginfo->ArenaType, ginfo->ArenaTeamRating); | |
} | |
+ //arena 3x3 & 5x5 announce | |
+ if (isRated && ginfo->ArenaType > 2) | |
+ { | |
+ ArenaTeam* Team = sArenaTeamMgr->GetArenaTeamById(arenateamid); | |
+ if (Team) | |
+ sWorld->SendWorldText(LANG_ARENA_QUEUE_ANNOUNCE_WORLD_JOIN, Team->GetName().c_str(), ginfo->ArenaType, ginfo->ArenaType, ginfo->ArenaTeamRating); | |
+ } | |
+ | |
//add players from group to ginfo | |
{ | |
//ACE_Guard<ACE_Recursive_Thread_Mutex> guard(m_Lock); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment