Skip to content

Commit

Permalink
Fix Autoloot (gold)
Browse files Browse the repository at this point in the history
- definitive fix for the gold issue
  • Loading branch information
roddett committed Jun 20, 2023
1 parent 675e822 commit b93ba4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/monster.cpp
Expand Up @@ -1384,7 +1384,7 @@ bool Monster::executeAutoLoot(Player* player, Container* container, std::ostring
}

if ((itemType.worth && !player->getAutoLootSetting(AUTOLOOT_GOLD))
|| (autoLootList.empty() || (!itemType.worth && autoLootList.find(subItem->getID()) == autoLootList.end())))
|| (!itemType.worth && (autoLootList.empty() || autoLootList.find(subItem->getID()) == autoLootList.end())))
continue;

bool begin = true;
Expand Down

0 comments on commit b93ba4c

Please sign in to comment.