diff options
| author | megamage <none@none> | 2009-04-08 16:29:28 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-04-08 16:29:28 -0500 |
| commit | 3a21b3d758c83ccaffdd0fbc25c8259fe32203a8 (patch) | |
| tree | e96b0e1b601df0239f66ba226a6b7ae3a8f1b69c /src/game/BattleGround.cpp | |
| parent | f48b123ebe22624e48e6fda4a9a341e7354a93f7 (diff) | |
[7631] Removed useless method BattleGroundQueue::BGEndedRemoveInvites Author: Triply
Moved method BattleGroundMrg::InvitePlayer to BattleGroundQueue::InviteGroupToBG
Added some comments to RemindInvite and RemoveInvite events.
Optimalise code.
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGround.cpp')
| -rw-r--r-- | src/game/BattleGround.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp index 32d5396e8cb..b4c449ea0cd 100644 --- a/src/game/BattleGround.cpp +++ b/src/game/BattleGround.cpp @@ -760,9 +760,6 @@ void BattleGround::EndBattleGround(uint32 winner) loser_arena_team->NotifyStatsChanged(); } - // inform invited players about the removal - sBattleGroundMgr.m_BattleGroundQueues[BattleGroundMgr::BGQueueTypeId(GetTypeID(), GetArenaType())].BGEndedRemoveInvites(this); - if(winmsg_id) SendMessageToAll(winmsg_id, CHAT_MSG_BG_SYSTEM_NEUTRAL); } @@ -1630,8 +1627,6 @@ void BattleGround::EndNow() RemoveFromBGFreeSlotQueue(); SetStatus(STATUS_WAIT_LEAVE); SetEndTime(0); - // inform invited players about the removal - sBattleGroundMgr.m_BattleGroundQueues[BattleGroundMgr::BGQueueTypeId(GetTypeID(), GetArenaType())].BGEndedRemoveInvites(this); } //to be removed |
