From 122edd64fe7bd6bb80a92d4b06cd3ac5443a7fa4 Mon Sep 17 00:00:00 2001 From: QAston Date: Sat, 27 Jun 2009 17:43:00 +0200 Subject: *Do not allow triggered spells to remove stealth. --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 17ff750452a..543c56770bd 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2571,7 +2571,7 @@ void Spell::prepare(SpellCastTargets const* targets, AuraEffect* triggeredByAura { // stealth must be removed at cast starting (at show channel bar) // skip triggered spell (item equip spell casting and other not explicit character casts/item uses) - if(isSpellBreakStealth(m_spellInfo) ) + if(!m_IsTriggeredSpell && isSpellBreakStealth(m_spellInfo) ) { m_caster->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_CAST); for(uint32 i = 0; i < 3; ++i) -- cgit v1.2.3