Fix for pets not receiving group buffs cast on them correctly.

This commit is contained in:
KayenEQ 2015-03-19 16:22:17 -04:00
parent 3b9f62f0a1
commit 1c454d9569

View File

@ -2151,7 +2151,7 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, uint16 slot, uint16
// it can affect up to 7 people if the targeted group is not our own
// Allow pets who cast group spells to affect the group.
if (spell_target->IsPetOwnerClient()){
if (spell_target->IsPetOwnerClient() && IsPetOwnerClient()){
Mob* owner = spell_target->GetOwner();
if (owner)