Core/Pets: use a better way to handle Paladin Guardians classification

This commit is contained in:
Ovahlord
2019-01-19 07:50:55 +01:00
parent b1e3116d4c
commit 50ef4df56f
2 changed files with 2 additions and 1 deletions

View File

@@ -308,7 +308,7 @@ void Minion::RemoveFromWorld()
bool Minion::IsGuardianPet() const
{
return IsPet() || IsGuardian() || (m_Properties && m_Properties->Category == SUMMON_CATEGORY_PET);
return IsPet() || (m_Properties && m_Properties->Category == SUMMON_CATEGORY_PET);
}
bool Minion::IsWarlockMinion() const

View File

@@ -854,6 +854,7 @@ bool Guardian::InitStatsForLevel(uint8 petlevel)
case CLASS_DEATH_KNIGHT:
case CLASS_MAGE:
case CLASS_PRIEST:
case CLASS_PALADIN:
petType = SUMMON_PET;
break;
case CLASS_HUNTER: