This commit is contained in:
robojumper
2026-01-24 11:03:02 +01:00
parent fa31853d1b
commit 0d7a72be97
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -45,6 +45,8 @@ public:
}
private:
static const s32 NUM_ICONS_PER_PAGE = 12;
void initIcon();
void realizeNav();
+2 -2
View File
@@ -164,7 +164,7 @@ void dLytDepositBoxCursor_c::init(s32 location, s32 slot, s32 item, bool isSell)
number = getDepositItemAmount(slot);
durability = getDepositShieldDurability(slot);
color = getDepositItemNumberColor(slot);
mSlot = slot % 12;
mSlot = slot % NUM_ICONS_PER_PAGE;
}
if (number < 0) {
@@ -195,7 +195,7 @@ void dLytDepositBoxCursor_c::updateSlot(s32 location, s32 slot, s32 item, bool i
if (mItemLocation == LOC_POUCH) {
mSlot = slot;
} else {
mSlot = slot % 12;
mSlot = slot % NUM_ICONS_PER_PAGE;
}
}