aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 0a9bf4747f0..b394206af4f 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -4479,15 +4479,12 @@ SpellCastResult Spell::CheckCast(bool strict)
switch(SummonProperties->Category)
{
case SUMMON_CATEGORY_PET:
- case SUMMON_CATEGORY_POSSESSED:
- {
if(m_caster->GetPetGUID())
return SPELL_FAILED_ALREADY_HAVE_SUMMON;
-
+ case SUMMON_CATEGORY_POSSESSED:
if(m_caster->GetCharmGUID())
return SPELL_FAILED_ALREADY_HAVE_CHARM;
break;
- }
}
break;
}