This commit is contained in:
Aokromes committed 2018-01-08 02:45:22 +01:00
1 parent e60e0f9f4a
commit c337d26db6
1 file changed
+1 -1
+1 -1
View File
@@ -10898,7 +10898,7 @@ InventoryResult Player::CanStoreItem(uint8 bag, uint8 slot, ItemPosCountVec &des
// search free slot
uint8 searchSlotStart = INVENTORY_SLOT_ITEM_START;
// new bags can be directly equipped
if (!pItem && pProto->Bonding == ITEM_CLASS_CONTAINER && pProto->SubClass == ITEM_SUBCLASS_CONTAINER &&
if (!pItem && pProto->Class == ITEM_CLASS_CONTAINER && pProto->SubClass == ITEM_SUBCLASS_CONTAINER &&
(pProto->Bonding == NO_BIND || pProto->Bonding == BIND_WHEN_PICKED_UP))
searchSlotStart = INVENTORY_SLOT_BAG_START;