diff options
author | QAston <none@none> | 2009-06-27 17:43:00 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-06-27 17:43:00 +0200 |
commit | 122edd64fe7bd6bb80a92d4b06cd3ac5443a7fa4 (patch) | |
tree | 8cedac24de6c8339002224f644ca33422ce7c904 /src | |
parent | 6fd51a027396605feb6ff0678605478e31a94428 (diff) |
*Do not allow triggered spells to remove stealth.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |