Fix lootable check in Player::isAllowedToLoot.

--HG--
branch : trunk
This commit is contained in:
Trazom62
2010-03-15 00:21:37 +01:00
parent c8fd37a9dc
commit 1845a9588d
+1 -1
View File
@@ -16125,7 +16125,7 @@ bool Player::isAllowedToLoot(const Creature* creature)
return false;
const Loot* loot = &creature->loot;
if (loot->items.size() == 0)
if (loot->isLooted()) // nothing to loot or everything looted.
return false;
Player* recipient = creature->GetLootRecipient();