aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-21 18:02:52 -0500
committermegamage <none@none>2009-05-21 18:02:52 -0500
commitf557b57652c6ff6e6564f895f021645de36985ae (patch)
tree9bc04fdcda1583b01bf37f4f46822a96c8f1081e
parent3a284c170b7d38735b31c30ba716e31102d06137 (diff)
*Allow warlock to use Eye of Kilrogg with existing pet.
--HG-- branch : trunk
-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;
}