[9492] Some cleanup in effects table.

This commit is contained in:
VladimirMangos 2010-03-01 06:40:49 +03:00
parent 1f329d2fb3
commit 7ecd5365b9
4 changed files with 15 additions and 26 deletions

View file

@ -4780,17 +4780,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