Skip to content

Instantly share code, notes, and snippets.

@walkline
Created December 23, 2011 17:15
Show Gist options
  • Save walkline/1514814 to your computer and use it in GitHub Desktop.
Save walkline/1514814 to your computer and use it in GitHub Desktop.
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