diff options
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index fcdeb30a42d..e91728ab9be 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -14379,6 +14379,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) |