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/CreatureAI.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/CreatureAI.cpp')
| -rw-r--r-- | src/game/CreatureAI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/CreatureAI.cpp b/src/game/CreatureAI.cpp index d21fe43fcaa..3a7cb896e88 100644 --- a/src/game/CreatureAI.cpp +++ b/src/game/CreatureAI.cpp @@ -100,6 +100,7 @@ void CreatureAI::EnterEvadeMode() me->CombatStop(); me->LoadCreaturesAddon(); me->SetLootRecipient(NULL); + me->ResetDamageByPlayers(); if(me->isAlive()) me->GetMotionMaster()->MoveTargetedHome(); |
