aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/DungeonFinding
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2016-11-26 02:50:17 +0100
committerGitHub <noreply@github.com>2016-11-26 02:50:17 +0100
commit46ee3881e6ef34855484234dcfd72b9b17d87e1d (patch)
tree4722c2001e70337dea46fcce4363763ebf6a11b8 /src/server/game/DungeonFinding
parent109174146cb6b54b6f33cb51983671e5e51d95a2 (diff)
Core/DungeonFinder: disable map only for LFG (#17784)
Core/DungeonFinder: disable map only from looking for dungeon
Diffstat (limited to 'src/server/game/DungeonFinding')
-rw-r--r--src/server/game/DungeonFinding/LFGMgr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp
index 4ca1a68c048..cb2335e9c7c 100644
--- a/src/server/game/DungeonFinding/LFGMgr.cpp
+++ b/src/server/game/DungeonFinding/LFGMgr.cpp
@@ -1605,6 +1605,8 @@ LfgLockMap const LFGMgr::GetLockedDungeons(ObjectGuid guid)
lockData = LFG_LOCKSTATUS_INSUFFICIENT_EXPANSION;
else if (DisableMgr::IsDisabledFor(DISABLE_TYPE_MAP, dungeon->map, player))
lockData = LFG_LOCKSTATUS_RAID_LOCKED;
+ else if (DisableMgr::IsDisabledFor(DISABLE_TYPE_LFG_MAP, dungeon->map, player))
+ lockData = LFG_LOCKSTATUS_RAID_LOCKED;
else if (dungeon->difficulty > DUNGEON_DIFFICULTY_NORMAL && player->GetBoundInstance(dungeon->map, Difficulty(dungeon->difficulty)))
lockData = LFG_LOCKSTATUS_RAID_LOCKED;
else if (dungeon->minlevel > level)