diff options
| author | linencloth <none@none> | 2010-09-15 17:44:56 +0200 |
|---|---|---|
| committer | linencloth <none@none> | 2010-09-15 17:44:56 +0200 |
| commit | 9739bea487bf9e5791379db51b56f58016fb2386 (patch) | |
| tree | 9c484a708ec006c79a79f3e78aae8f66d1f6aa14 /src/server/game/Server/Protocol | |
| parent | 52bc2478c98bc914d0aa450bab81a873acfd79d4 (diff) | |
Core/Loot: Reimplement the proper check for loot recipient to prevent rewarding loot without tagging the creature by the player.
Also fix the related skinning problem, and do not set the skinnable flag for creatures without any loot recipient.
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Server/Protocol')
| -rw-r--r-- | src/server/game/Server/Protocol/Handlers/LootHandler.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/server/game/Server/Protocol/Handlers/LootHandler.cpp b/src/server/game/Server/Protocol/Handlers/LootHandler.cpp index ca4af9fee27..1baaa8faa84 100644 --- a/src/server/game/Server/Protocol/Handlers/LootHandler.cpp +++ b/src/server/game/Server/Protocol/Handlers/LootHandler.cpp @@ -383,7 +383,6 @@ void WorldSession::DoLootRelease(uint64 lguid) pCreature->AllLootRemovedFromCorpse(); pCreature->RemoveFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_LOOTABLE); - pCreature->SetLootRecipient(NULL); loot->clear(); } else |
