aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorthenecromancer <none@none>2010-01-13 10:27:44 +0100
committerthenecromancer <none@none>2010-01-13 10:27:44 +0100
commitc36a8d2d5fb688da9f1d156c0622e836c547649c (patch)
tree707e72c7a39c233c8779de2215a12655378ae426 /src/game/Spell.cpp
parenta4cb03d9cd5362769935001614236437e0d0e9ca (diff)
Change SPELL_EFFECT_SUMMON_PHANTAS to SPELL_EFFECT_FORCE_DESELECT and allow it to be casted with active pet
This fixes Mirror Image not changing names when Water Elemental is active. (Note that deselect effect is done in linked spells for Killing Spree/Shadowmeld) --HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 6c18c3584c3..7f4b8bedc76 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -4995,17 +4995,6 @@ SpellCastResult Spell::CheckCast(bool strict)
}
break;
}
- // Not used for summon?
- case SPELL_EFFECT_SUMMON_PHANTASM:
- {
- if(m_caster->GetPetGUID())
- return SPELL_FAILED_ALREADY_HAVE_SUMMON;
-
- if(m_caster->GetCharmGUID())
- return SPELL_FAILED_ALREADY_HAVE_CHARM;
-
- break;
- }
case SPELL_EFFECT_SUMMON_PET:
{
if(m_caster->GetPetGUID()) //let warlock do a replacement summon