Trader Direct purchase updated and tested

This commit is contained in:
Mitch Freeman
2025-04-12 00:09:30 -03:00
parent e57a789dce
commit 32daa4834c
2 changed files with 18 additions and 32 deletions
+1 -4
View File
@@ -4679,10 +4679,7 @@ bool Client::PutItemInInventoryWithStacking(EQ::ItemInstance *inst)
};
std::vector<temp> queue;
auto free_id = GetInv().FindFirstFreeSlotThatFitsItem(inst->GetItem());
auto quantity = inst->GetCharges(); // 2
auto remaining_quantity = 0;
auto item_size = inst->GetItem()->Size;
auto quantity = inst->GetCharges();
for (int i = EQ::invslot::GENERAL_BEGIN; i <= EQ::invslot::GENERAL_END; i++) {
auto inv_inst = GetInv().GetItem(i);