Core/Pets: Add forgotten change in revision 9fce5af1e5

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-08-28 20:30:20 +02:00
parent 2930c02198
commit a6d681b41c

View File

@@ -301,6 +301,7 @@ bool Minion::IsGuardianPet() const
Guardian::Guardian(SummonPropertiesEntry const *properties, Unit *owner) : Minion(properties, owner)
, m_bonusSpellDamage(0)
{
memset(m_statFromOwner, 0, sizeof(float)*MAX_STATS);
m_unitTypeMask |= UNIT_MASK_GUARDIAN;
if (properties && properties->Type == SUMMON_TYPE_PET)
{