--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-05-15 13:57:10 -05:00
commit ff7f023ff1
11 files changed
+59 -22

No files matched your search

+3
View File
@@ -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)