aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-19 19:46:07 +0100
committern0n4m3 <none@none>2009-12-19 19:46:07 +0100
commit5a3b3d83eeac2e7b2d770bbe1346f2706dc25d01 (patch)
tree5ee21ab0e5b49af02b5355182a92b28720a7fd04 /src/game/Unit.cpp
parent50bf68e099fbd7935d0e28ea052c4448c283f9e8 (diff)
Fixed some typos and revert one commit
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index f320ee45c92..718fbae1e4d 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -14109,14 +14109,6 @@ void Unit::Kill(Unit *pVictim, bool durabilityLoss)
if (player->RewardPlayerAndGroupAtKill(pVictim))
player->ProcDamageAndSpell(pVictim, PROC_FLAG_KILL, PROC_FLAG_KILLED, PROC_EX_NONE, 0);
-
- WorldPacket data(SMSG_PARTYKILLLOG, (8+8)); //send event PARTY_KILL
- data << uint64(player->GetGUID()); //player with killing blow
- data << uint64(pVictim->GetGUID()); //victim
- if (Group *group = player->GetGroup())
- group->BroadcastPacket(&data, group->GetMemberGroup(player->GetGUID()));
- else
- player->SendDirectMessage(&data);
else
player->ProcDamageAndSpell(pVictim, PROC_FLAG_NONE, PROC_FLAG_KILLED, PROC_EX_NONE, 0);
}