aboutsummaryrefslogtreecommitdiff
path: root/src/game/ReactorAI.cpp
diff options
context:
space:
mode:
authorMuhaha <none@none>2009-05-13 10:34:55 +0200
committerMuhaha <none@none>2009-05-13 10:34:55 +0200
commit62c5720227f2863270ab7c3f8d72c90a802e7084 (patch)
tree8fc619094b113503b5bc7ea83f0335bc266eb645 /src/game/ReactorAI.cpp
parent11e66c1cf00b9c8963a91b06462423cb21e9cdb1 (diff)
* avoid loot/exp when the mobs are killed by npc. Authore: KAPATEJIb @ getmangos.org
--HG-- branch : trunk
Diffstat (limited to 'src/game/ReactorAI.cpp')
-rw-r--r--src/game/ReactorAI.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/ReactorAI.cpp b/src/game/ReactorAI.cpp
index d15c71b28ef..f9fe0abfdc2 100644
--- a/src/game/ReactorAI.cpp
+++ b/src/game/ReactorAI.cpp
@@ -104,6 +104,7 @@ ReactorAI::EnterEvadeMode()
i_victimGuid = 0;
i_creature.CombatStop();
i_creature.SetLootRecipient(NULL);
+ i_creature.ResetDamageByPlayers();
if(!i_creature.GetCharmerOrOwner())
{