aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 1e759548ae6..548ef84ae7b 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -14768,6 +14768,9 @@ bool Player::LoadFromDB( uint32 guid, SqlQueryHolder *holder )
bool Player::isAllowedToLoot(Creature* creature)
{
+ if(creature->isDead() && !creature->IsDamageEnoughForLootingAndReward())
+ return false;
+
if(Player* recipient = creature->GetLootRecipient())
{
if (recipient == this)