From 6a068b71518d961fb32d023797400d80b8b62a6d Mon Sep 17 00:00:00 2001 From: Anubisss Date: Sun, 18 Oct 2009 14:27:17 +0200 Subject: [PATCH] *Remove a check from aura effect: SPELL_AURA_MOD_PACIFY. *This fix the bug that some spells' pacify effect dont work against mobs, eg.: Hex. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 799e54fccf..695a706b7f 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -5542,7 +5542,7 @@ void AuraEffect::HandleAuraUntrackable(bool apply, bool Real, bool /*changeAmoun void AuraEffect::HandleAuraModPacify(bool apply, bool Real, bool /*changeAmount*/) { - if(!Real || m_target->GetTypeId() != TYPEID_PLAYER) + if(!Real) return; if(apply)