aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorkrz <none@none>2009-06-05 02:02:50 +0200
committerkrz <none@none>2009-06-05 02:02:50 +0200
commit65598fe2333472adb9a9eaa80ff4d5d3f62cce10 (patch)
tree9ae510ce0a862839e6081092db05fcb0c924e75b /src/game/Spell.cpp
parent85b68d886aa5ebc92dbd28ad83f710c0fd655579 (diff)
Backported from TC2: allow Water Elemental to cast Freeze while casting Water Bolt
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-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 d8cf24c2933..88bee994820 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -4269,7 +4269,7 @@ int16 Spell::PetCanCast(Unit* target)
if(!m_caster->isAlive())
return SPELL_FAILED_CASTER_DEAD;
- if(m_caster->IsNonMeleeSpellCasted(false)) //prevent spellcast interruption by another spellcast
+ if(m_caster->IsNonMeleeSpellCasted(false) && !m_IsTriggeredSpell) //prevent spellcast interruption by another spellcast
return SPELL_FAILED_SPELL_IN_PROGRESS;
if(m_caster->isInCombat() && IsNonCombatSpell(m_spellInfo))
return SPELL_FAILED_AFFECTING_COMBAT;