diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index f164a5ee895..a9f975b1254 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -9767,7 +9767,7 @@ void Unit::CombatStart(Unit* target) target->SetInCombatWith(this); } - if(Player* attackedPlayer = target->GetCharmerOrOwnerPlayerOrPlayerItself()) + if(Player* attackedPlayer = GetCharmerOrOwnerPlayerOrPlayerItself()) SetContestedPvP(attackedPlayer); }