aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpp <none@none>2010-11-03 14:21:59 +0100
committerSpp <none@none>2010-11-03 14:21:59 +0100
commit6b6d992d5544dfb3d24cd969f2a7e3f66b2835c8 (patch)
treeda6d1e0fe7e4fec34a014b4125c7148367ea7d62
parent9df4af80f4b19bb437a27c5c6189b058ef1196ba (diff)
Core/Dungeon Finder: Fix 'unknown' player names after group being formed and teleported to dungeon
Original Patch by danik Closes issue 3846 --HG-- branch : trunk
-rwxr-xr-xsrc/server/game/DungeonFinding/LFGMgr.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp
index 2e0196fdc31..8fb56635590 100755
--- a/src/server/game/DungeonFinding/LFGMgr.cpp
+++ b/src/server/game/DungeonFinding/LFGMgr.cpp
@@ -1566,7 +1566,6 @@ void LFGMgr::UpdateProposal(uint32 proposalId, uint32 lowGuid, bool accept)
grp->SetDungeonDifficulty(Difficulty(dungeon->difficulty));
grp->SetLfgDungeonEntry(dungeon->Entry());
grp->SetLfgStatus(LFG_STATUS_NOT_SAVED);
- grp->SendUpdate();
// Remove players/groups from Queue
for (LfgGuidList::const_iterator it = pProposal->queues.begin(); it != pProposal->queues.end(); ++it)
@@ -1576,6 +1575,9 @@ void LFGMgr::UpdateProposal(uint32 proposalId, uint32 lowGuid, bool accept)
for (LfgPlayerList::const_iterator it = players.begin(); it != players.end(); ++it)
TeleportPlayer(*it, false);
+ // Update group info
+ grp->SendUpdate();
+
for (LfgProposalPlayerMap::const_iterator it = pProposal->players.begin(); it != pProposal->players.end(); ++it)
delete it->second;
pProposal->players.clear();