*Merge.
--HG-- branch : trunk
This commit is contained in:
commit
ff7f023ff1
11 files changed
+59
-22
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user