Core/DungeonFinder: disable map only for LFG

This commit is contained in:
hondacrx
2018-02-13 10:38:52 -05:00
parent b750f54f1d
commit 88d5d3d322
2 changed files with 6 additions and 1 deletions
+4 -1
View File
@@ -112,6 +112,7 @@ namespace Game
case DisableType.Quest:
break;
case DisableType.Map:
case DisableType.LFGMap:
{
MapRecord mapEntry = CliDB.MapStorage.LookupByKey(entry);
if (mapEntry == null)
@@ -339,6 +340,7 @@ namespace Game
break;
}
case DisableType.Map:
case DisableType.LFGMap:
Player player = unit.ToPlayer();
if (player != null)
{
@@ -407,7 +409,8 @@ namespace Game
OutdoorPVP = 5,
VMAP = 6,
MMAP = 7,
Max = 8
LFGMap = 8,
Max = 9
}
public struct DisableFlags