[8889] Allow non-permanent pets have auras from spell_pet_auras.

Also add one from related cases to DB.
This commit is contained in:
VladimirMangos 2009-11-29 17:27:51 +03:00
parent 01c852fee8
commit fe70af7b5d
4 changed files with 7 additions and 5 deletions

View file

@ -1882,9 +1882,6 @@ void Pet::CastPetAuras(bool current)
if(!owner || owner->GetTypeId()!=TYPEID_PLAYER)
return;
if(!IsPermanentPetFor((Player*)owner))
return;
for(PetAuraSet::const_iterator itr = owner->m_petAuras.begin(); itr != owner->m_petAuras.end();)
{
PetAura const* pa = *itr;