*Fix a typo. Set owner in pvp when pet attacks other players.
--HG-- branch : trunk
This commit is contained in:
1 parent
b5af2546b5
commit
28e1aec6df
1 file changed
+1
-1
+1
-1
@@ -9767,7 +9767,7 @@ void Unit::CombatStart(Unit* target)
|
||||
target->SetInCombatWith(this);
|
||||
}
|
||||
|
||||
if(Player* attackedPlayer = target->GetCharmerOrOwnerPlayerOrPlayerItself())
|
||||
if(Player* attackedPlayer = GetCharmerOrOwnerPlayerOrPlayerItself())
|
||||
SetContestedPvP(attackedPlayer);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user