diff options
author | Spp <none@none> | 2010-09-06 03:03:21 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-09-06 03:03:21 +0200 |
commit | 56940bb4a46941783641b6bc6ca0e627024c0bce (patch) | |
tree | 9cd15193a20a7dc4c00355a0290abfa6d0c17d71 | |
parent | 62673ec25e7e90b6b8eb08af031fea5f31c23439 (diff) |
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
-rw-r--r-- | src/server/game/DungeonFinding/LFGMgr.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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) /// <param name="bool">compatibles or not</param> 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(); |