diff options
| author | megamage <none@none> | 2008-12-30 16:12:56 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2008-12-30 16:12:56 -0600 |
| commit | 32f571506bacb097b85996e87702afbe34d26961 (patch) | |
| tree | d803172423b818fd9d767f058c26a4d05f1b35fe /src/game/Unit.cpp | |
| parent | 3d1d45405546062357c019f0164f8529552fd060 (diff) | |
*Fix build in Windows.
--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 faf99eb7ab9..5721a708e3c 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -11003,7 +11003,7 @@ void Unit::Kill(Unit *pVictim, bool durabilityLoss) if(player && player!=pVictim) { if(player->RewardPlayerAndGroupAtKill(pVictim)) - player->ProcDamageAndSpell(pVictim, PROC_FLAG_KILL_AND_GET_XP, PROC_FLAG_KILLED, PROC_EX_NONE, 0); + player->ProcDamageAndSpell(pVictim, PROC_FLAG_KILL, PROC_FLAG_KILLED, PROC_EX_NONE, 0); else player->ProcDamageAndSpell(pVictim, PROC_FLAG_NONE, PROC_FLAG_KILLED,PROC_EX_NONE, 0); } |
