Merge pull request #578 Fix Selling "random" item

Address issue with selling/moving items grabbing a "random" item
This commit is contained in:
David Markowitz
2022-06-12 11:43:36 -07:00
committed by GitHub

View File

@@ -353,8 +353,6 @@ void InventoryComponent::MoveItemToInventory(Item* item, const eInventoryType in
while (left > 0)
{
item = origin->FindItemByLot(lot, ignoreEquipped);
if (item == nullptr)
{
item = origin->FindItemByLot(lot, false);