aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQAston <none@none>2009-06-27 17:43:00 +0200
committerQAston <none@none>2009-06-27 17:43:00 +0200
commit122edd64fe7bd6bb80a92d4b06cd3ac5443a7fa4 (patch)
tree8cedac24de6c8339002224f644ca33422ce7c904
parent6fd51a027396605feb6ff0678605478e31a94428 (diff)
*Do not allow triggered spells to remove stealth.
--HG-- branch : trunk
-rw-r--r--src/game/Spell.cpp2
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)