Apply suggestions from code review

Co-authored-by: Elijah Thomas <42302100+elijah-thomas774@users.noreply.github.com>
This commit is contained in:
robojumper
2026-01-24 10:59:54 +01:00
committed by GitHub
parent f92efc28d6
commit fa31853d1b
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -229,9 +229,9 @@ private:
STATE_MGR_DEFINE_UTIL_ISSTATE(dLytDeposit_c);
STATE_MGR_DEFINE_UTIL_CHANGESTATE(dLytDeposit_c);
/* 0x08C */ UI_STATE_MGR_DECLARE(dLytDeposit_c);
/* 0x0C8 */ d2d::ResAccIf_c mResAcc;
/* 0x438 */ dLytDepositMain_c mMain;
/* 0x0008C */ UI_STATE_MGR_DECLARE(dLytDeposit_c);
/* 0x000C8 */ d2d::ResAccIf_c mResAcc;
/* 0x00438 */ dLytDepositMain_c mMain;
/* 0x19998 */ bool mInRequest;
/* 0x19999 */ bool mIsMovingOut;
/* 0x1999A */ bool mScrollViaArrowButton;
+1 -1
View File
@@ -56,7 +56,7 @@ private:
/* 0x930 */ d2d::SubPaneList mSubpaneList;
/* 0x938 */ d2d::SubPaneListNode mNode;
/* 0x948 */ bool mIsVisible;
/* 0x948 */ bool mIsSellMode;
/* 0x949 */ bool mIsSellMode;
/* 0x94C */ s32 mSlot;
/* 0x950 */ s32 mItem;
/* 0x954 */ s32 mItemLocation;
+1 -1
View File
@@ -641,7 +641,7 @@ bool dLytDepositMain_c::execute() {
for (int i = 0; i < DEPOSIT_ANIM_HAVE_OFFSET; i++) {
if (mAnm[i].isEnabled()) {
if (i >= 19 && i <= 23) {
if (i >= DEPOSIT_ANIM_INPUT_00 && i <= DEPOSIT_ANIM_INPUT_01) {
if (mAnm[i].isStop()) {
mAnm[i].setAnimEnable(false);
}