From e50b04f6570b21797c9c25ad29c65f61feb7ac74 Mon Sep 17 00:00:00 2001 From: thenecromancer Date: Sat, 3 Apr 2010 12:32:11 +0200 Subject: Fix issue #1437, don't remove passive auras if they're triggering spell that fails for whatever reason --HG-- branch : trunk --- src/game/Spell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index bad60d69cfd..3e25d6a91f7 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2700,7 +2700,7 @@ void Spell::prepare(SpellCastTargets const* targets, AuraEffect const * triggere SpellCastResult result = CheckCast(true); if(result != SPELL_CAST_OK && !IsAutoRepeat()) //always cast autorepeat dummy for triggering { - if(triggeredByAura) + if(triggeredByAura && !triggeredByAura->GetBase()->IsPassive()) { SendChannelUpdate(0); triggeredByAura->GetBase()->SetDuration(0); -- cgit v1.2.3