summaryrefslogtreecommitdiff
path: root/src/game/Battlegrounds/BattlegroundQueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Battlegrounds/BattlegroundQueue.cpp')
-rw-r--r--src/game/Battlegrounds/BattlegroundQueue.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/Battlegrounds/BattlegroundQueue.cpp b/src/game/Battlegrounds/BattlegroundQueue.cpp
index 6a22a720a8..5bbcffb095 100644
--- a/src/game/Battlegrounds/BattlegroundQueue.cpp
+++ b/src/game/Battlegrounds/BattlegroundQueue.cpp
@@ -989,8 +989,6 @@ bool BGQueueRemoveEvent::Execute(uint64 /*e_time*/, uint32 /*p_time*/)
if (!player)
return true;
- Battleground* bg = sBattlegroundMgr->GetBattleground(m_BgInstanceGUID);
-
// battleground can be already deleted, bg may be NULL!
// check if still in queue for this battleground