Core/Dungeon Finder: Declare some functions private as those are not used outside LFGMgr. Also do not expose LFGDungeonData outside LFGMgr

This commit is contained in:
Spp committed 2013-02-04 06:43:03 +01:00
1 parent f743424f63
commit ec5d16db8a
6 files changed
+142 -99

No files matched your search

+1 -1
View File
@@ -1725,7 +1725,7 @@ class spell_gen_luck_of_the_draw : public SpellScriptLoader
return false;
Group* group = owner->GetGroup();
if (!group || group->isLFGGroup())
if (!group || !group->isLFGGroup())
return false;
if (!sLFGMgr->selectedRandomLfgDungeon(owner->GetGUID()))