From 56940bb4a46941783641b6bc6ca0e627024c0bce Mon Sep 17 00:00:00 2001 From: Spp Date: Mon, 6 Sep 2010 03:03:21 +0200 Subject: Core/Dungeon Finder: Fix an error that prevented lfg groups to find a new proposal with queued groups - Also fix a typo in previous Dungeon Finder commit Updates issue 3465 --HG-- branch : trunk --- src/server/game/DungeonFinding/LFGMgr.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/server') diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index db91ec5b04a..a02d1aa0f79 100644 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -1182,7 +1182,7 @@ void LFGMgr::RemoveFromCompatibles(uint64 guid) /// compatibles or not void LFGMgr::SetCompatibles(std::string key, bool compatibles) { - sLog.outDebug("LFGMgr::GetCompatibles: (%s): %d", key.c_str(), LfgAnswer(compatibles)); + sLog.outDebug("LFGMgr::SetCompatibles: (%s): %d", key.c_str(), LfgAnswer(compatibles)); m_CompatibleMap[key] = LfgAnswer(compatibles); } @@ -1423,7 +1423,10 @@ void LFGMgr::UpdateProposal(uint32 proposalId, uint32 lowGuid, bool accept) sObjectMgr.AddGroup(grp); } else if (plr->GetGroup() != grp) + { + grp->SetLfgQueued(false); grp->AddMember(plr->GetGUID(), plr->GetName()); + } plr->SetLfgUpdate(true); // Update timers role = plr->GetLfgRoles(); -- cgit v1.2.3