Fix lootable check in Player::isAllowedToLoot.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user