diff options
-rw-r--r-- | src/game/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 6893ac3a04a..44c666c5ed0 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -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(); |