Core/Dungeon Finder: Corrections to previous commit

- player::inRandomLfgDungeon was supposed to return if current player map and difficulty are the ones player applied for
This commit is contained in:
Spp committed 2013-02-04 05:50:52 +01:00
1 parent 9bdfc87774
commit f743424f63
5 files changed
+30 -4

No files matched your search

+1 -1
View File
@@ -1728,7 +1728,7 @@ class spell_gen_luck_of_the_draw : public SpellScriptLoader
if (!group || group->isLFGGroup())
return false;
if (!sLFGMgr->inRandomLfgDungeon(owner->GetGUID()))
if (!sLFGMgr->selectedRandomLfgDungeon(owner->GetGUID()))
return false;
map = owner->GetMap();