diff options
author | Nay <dnpd.dd@gmail.com> | 2012-10-06 17:01:29 +0100 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2012-10-06 17:01:29 +0100 |
commit | d641775a1f102681c134e6de4507cd1a13289ab3 (patch) | |
tree | 5ec6ac6f79ea2aa16ccc12b29eaed60d89fe8668 /src/server/game/DungeonFinding/LFGScripts.cpp | |
parent | d27a3955f05427762f1d3bce71b07b682bfc36b1 (diff) |
Core/Traps: Remove hardcoded cooldown value of 1 and use startDelay instead, as per Kaelima suggestion
startDelay is 1 for all hunter traps
Fix non PCH build (boss_elder_madox.cpp)
Remove a double parentheses in LFGGroupScript
Diffstat (limited to 'src/server/game/DungeonFinding/LFGScripts.cpp')
-rw-r--r-- | src/server/game/DungeonFinding/LFGScripts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/DungeonFinding/LFGScripts.cpp b/src/server/game/DungeonFinding/LFGScripts.cpp index 5a3962cc04d..36f04b3020b 100644 --- a/src/server/game/DungeonFinding/LFGScripts.cpp +++ b/src/server/game/DungeonFinding/LFGScripts.cpp @@ -123,7 +123,7 @@ void LFGGroupScript::OnRemoveMember(Group* group, uint64 guid, RemoveMethod meth sLFGMgr->SetState(guid, LFG_STATE_NONE); if (Player* player = ObjectAccessor::FindPlayer(guid)) { - if ((method == GROUP_REMOVEMETHOD_LEAVE && sLFGMgr->GetState(gguid) != LFG_STATE_FINISHED_DUNGEON && sLFGMgr->GetDungeon(gguid,false))) + if (method == GROUP_REMOVEMETHOD_LEAVE && sLFGMgr->GetState(gguid) != LFG_STATE_FINISHED_DUNGEON && sLFGMgr->GetDungeon(gguid, false)) player->CastSpell(player, LFG_SPELL_DUNGEON_DESERTER, true); /* else if (group->isLfgKickActive()) |