diff options
author | Muhaha <none@none> | 2009-05-13 10:34:55 +0200 |
---|---|---|
committer | Muhaha <none@none> | 2009-05-13 10:34:55 +0200 |
commit | 62c5720227f2863270ab7c3f8d72c90a802e7084 (patch) | |
tree | 8fc619094b113503b5bc7ea83f0335bc266eb645 /src/game/AggressorAI.cpp | |
parent | 11e66c1cf00b9c8963a91b06462423cb21e9cdb1 (diff) |
* avoid loot/exp when the mobs are killed by npc. Authore: KAPATEJIb @ getmangos.org
--HG--
branch : trunk
Diffstat (limited to 'src/game/AggressorAI.cpp')
-rw-r--r-- | src/game/AggressorAI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/AggressorAI.cpp b/src/game/AggressorAI.cpp index a001ea5af22..d44cab9fd22 100644 --- a/src/game/AggressorAI.cpp +++ b/src/game/AggressorAI.cpp @@ -93,6 +93,7 @@ void AggressorAI::EnterEvadeMode() i_victimGuid = 0; i_creature.CombatStop(); i_creature.SetLootRecipient(NULL); + i_creature.ResetDamageByPlayers(); } void |