Core/Players: Fixed storing items in bank bags slots 67-74

This commit is contained in:
Shauren
2026-02-21 19:18:10 +01:00
parent fff6783ca9
commit f2101431c0

View File

@@ -11097,7 +11097,7 @@ InventoryResult Player::CanBankItem(uint8 bag, uint8 slot, ItemPosCountVec& dest
// in specific slot
if (bag != NULL_BAG && slot != NULL_SLOT)
{
if (slot >= BANK_SLOT_BAG_START && slot < BANK_SLOT_BAG_END)
if (bag == INVENTORY_SLOT_BAG_0 && slot >= BANK_SLOT_BAG_START && slot < BANK_SLOT_BAG_END)
{
if (!pItem->IsBag())
return EQUIP_ERR_WRONG_SLOT;