diff options
| author | Spp <spp@jorge.gr> | 2013-02-04 05:50:52 +0100 |
|---|---|---|
| committer | Spp <spp@jorge.gr> | 2013-02-04 05:50:52 +0100 |
| commit | f743424f630af8c8b940bcc3a8ed08512708540c (patch) | |
| tree | a249522ca4b664c570ba9f61337e1e9ad408e43d /src/server/scripts | |
| parent | 9bdfc877748501066a6fce91b9d5f774eab5ac77 (diff) | |
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
Diffstat (limited to 'src/server/scripts')
| -rw-r--r-- | src/server/scripts/Spells/spell_generic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp index 54ca3efd6d5..61f4a81bc73 100644 --- a/src/server/scripts/Spells/spell_generic.cpp +++ b/src/server/scripts/Spells/spell_generic.cpp @@ -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(); |
