Core/Dungeon Finder: Reset player Locked Dungeons after change level or bind to heroic instance

Note: Actual DF system is not supposed to select a dungeon you are already saved to (core does not support someone to have multiple saves on the same instance)

--HG--
branch : trunk
This commit is contained in:
Spp
2010-12-23 06:06:24 +01:00
parent 0c8b07d3e5
commit 067984ba9f
3 changed files with 10 additions and 6 deletions
@@ -416,10 +416,6 @@ bool LFGMgr::RemoveFromQueue(const uint64& guid)
void LFGMgr::InitializeLockedDungeons(Player* plr)
{
uint64 guid = plr->GetGUID();
LfgLockMap cachedLockMap = GetLockedDungeons(guid);
if (!cachedLockMap.empty())
return;
uint8 level = plr->getLevel();
uint8 expansion = plr->GetSession()->Expansion();
LfgDungeonSet dungeons = GetDungeonsByRandom(0);