diff options
author | megamage <none@none> | 2008-12-01 16:44:04 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-01 16:44:04 -0600 |
commit | 28e1aec6df5ce68d9878794cd57f515261b1b782 (patch) | |
tree | ef8e4b698614b5ed22de51e5370c76c449652fbe /src/game/Unit.cpp | |
parent | b5af2546b578256e2758ee024999ae25e4a98d07 (diff) |
*Fix a typo. Set owner in pvp when pet attacks other players.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |