Core/Pets: Add forgotten change in revision 9fce5af1e5
--HG-- branch : trunk
This commit is contained in:
@@ -301,6 +301,7 @@ bool Minion::IsGuardianPet() const
|
|||||||
Guardian::Guardian(SummonPropertiesEntry const *properties, Unit *owner) : Minion(properties, owner)
|
Guardian::Guardian(SummonPropertiesEntry const *properties, Unit *owner) : Minion(properties, owner)
|
||||||
, m_bonusSpellDamage(0)
|
, m_bonusSpellDamage(0)
|
||||||
{
|
{
|
||||||
|
memset(m_statFromOwner, 0, sizeof(float)*MAX_STATS);
|
||||||
m_unitTypeMask |= UNIT_MASK_GUARDIAN;
|
m_unitTypeMask |= UNIT_MASK_GUARDIAN;
|
||||||
if (properties && properties->Type == SUMMON_TYPE_PET)
|
if (properties && properties->Type == SUMMON_TYPE_PET)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user