aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-29 00:18:41 -0500
committermegamage <none@none>2009-05-29 00:18:41 -0500
commitbc32144310e94e0c7e62c7cd7119bfdd4e719e6f (patch)
treeedb4c10942113f366058e8dd3b51e30a30559989 /src/game/Unit.cpp
parent1288761fb704be6d3c24e8480a809f66200ddf04 (diff)
*Update OutdoorPvP functions. No longer need creature triggers for capture points.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index cc143c0add3..41293837a1b 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -13277,9 +13277,9 @@ void Unit::Kill(Unit *pVictim, bool durabilityLoss)
if(OutdoorPvP * pvp = player->GetOutdoorPvP())
pvp->HandleKill(player, pVictim);
- if(pVictim->GetTypeId() == TYPEID_PLAYER)
- if(OutdoorPvP * pvp = ((Player*)pVictim)->GetOutdoorPvP())
- pvp->HandlePlayerActivityChanged((Player*)pVictim);
+ //if(pVictim->GetTypeId() == TYPEID_PLAYER)
+ // if(OutdoorPvP * pvp = ((Player*)pVictim)->GetOutdoorPvP())
+ // pvp->HandlePlayerActivityChanged((Player*)pVictim);
// battleground things (do this at the end, so the death state flag will be properly set to handle in the bg->handlekill)
if(player && player->InBattleGround())