diff options
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 6 |
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()) |