diff options
author | Spp <none@none> | 2010-10-09 14:56:51 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-10-09 14:56:51 +0200 |
commit | aae2f3b48e259d95e97621d012632b336f9023b8 (patch) | |
tree | 9795e2f583e47dc03ea3d9fe386b90031261c969 /src | |
parent | f8a43127011853a7d20f88943e0aa14366cc1ac9 (diff) |
Core/Dungeon Finder: Partial revert "cfad2a99ac" (remove use of Luck of the draw and Dungeon Deserter Spells)
Note: Will be readed later after some functions remake
--HG--
branch : trunk
Diffstat (limited to 'src')
-rwxr-xr-x | src/server/game/DungeonFinding/LFGMgr.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index 0f18267dc78..717590b3ec4 100755 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -1608,10 +1608,7 @@ void LFGMgr::UpdateProposal(uint32 proposalId, uint32 lowGuid, bool accept) // Teleport Player for (LfgPlayerList::const_iterator it = players.begin(); it != players.end(); ++it) - { - (*it)->CastSpell(*it, LFG_SPELL_DUNGEON_COOLDOWN, false); TeleportPlayer(*it, false); - } for (LfgProposalPlayerMap::const_iterator it = pProposal->players.begin(); it != pProposal->players.end(); ++it) delete it->second; @@ -1888,10 +1885,7 @@ void LFGMgr::TeleportPlayer(Player* plr, bool out, bool fromOpcode /*= false*/) plr->SetBattlegroundEntryPoint(); if (plr->TeleportTo(mapid, x, y, z, orientation)) - { plr->RemoveAurasByType(SPELL_AURA_MOUNTED); - plr->CastSpell(plr, LFG_SPELL_LUCK_OF_THE_DRAW, false); - } else { error = LFG_TELEPORTERROR_INVALID_LOCATION; |