[Messages] Swarm pet normal damage messages were missing (#3594)

This commit is contained in:
Paul Coene 2023-09-17 08:26:09 -04:00 committed by GitHub
parent 12cc3c90ea
commit e85a8db8c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4226,7 +4226,7 @@ void Mob::CommonDamage(Mob* attacker, int64 &damage, const uint16 spell_id, cons
//this was done to simplify the code here (since we can only effectively skip one mob on queue)
eqFilterType filter;
Mob* skip = attacker;
if (attacker && attacker->GetOwnerID()) {
if (attacker && attacker->GetOwner()) {
//attacker is a pet, let pet owners see their pet's damage
Mob* owner = attacker->GetOwner();
if (owner && owner->IsClient()) {