Fix unknown error message for summoned fire elemental and risen ghoul.

--HG--
branch : trunk
This commit is contained in:
p0wer
2010-01-01 19:37:52 -06:00
parent 17e4fbd4ad
commit 327e371e48
+3 -1
View File
@@ -808,7 +808,9 @@ bool Guardian::InitStatsForLevel(uint8 petlevel)
PetType petType = MAX_PET_TYPE;
if(isPet() && m_owner->GetTypeId() == TYPEID_PLAYER)
{
if(m_owner->getClass() == CLASS_WARLOCK)
if((m_owner->getClass() == CLASS_WARLOCK)
|| (m_owner->getClass() == CLASS_SHAMAN) // Fire Elemental
|| (m_owner->getClass() == CLASS_DEATH_KNIGHT)) // Risen Ghoul
petType = SUMMON_PET;
else if(m_owner->getClass() == CLASS_HUNTER)
{