[Feature] Implement "Big Bags"

This commit is contained in:
Kinglykrab
2024-10-25 00:17:33 -04:00
parent 62ac015fff
commit 738a31df51
22 changed files with 1327 additions and 1017 deletions
+2 -2
View File
@@ -1027,7 +1027,7 @@ int16 EQ::InventoryProfile::CalcSlotId(int16 bagslot_id, uint8 bagidx) {
int16 slot_id = INVALID_INDEX;
if (bagslot_id == invslot::slotCursor || bagslot_id == 8000) {
if (bagslot_id == invslot::slotCursor) {
slot_id = invbag::CURSOR_BAG_BEGIN + bagidx;
}
else if (bagslot_id >= invslot::GENERAL_BEGIN && bagslot_id <= invslot::GENERAL_END) {
@@ -1807,4 +1807,4 @@ int16 EQ::InventoryProfile::FindFirstFreeSlotThatFitsItem(const EQ::ItemData *it
}
}
return 0;
}
}