diff --git a/src/00_Core/Player/LinkStateItem.cpp b/src/00_Core/Player/LinkStateItem.cpp index 93c1e336..35363720 100644 --- a/src/00_Core/Player/LinkStateItem.cpp +++ b/src/00_Core/Player/LinkStateItem.cpp @@ -34,7 +34,6 @@ ARM void LinkStateItem::OnStateLeave(s32 param1) { LinkStateMove *pLVar2; s32 iVar3; unk32 *puVar4; - unk32 *puVar5; LinkStateBase::OnStateLeave(param1); @@ -89,8 +88,7 @@ ARM void LinkStateItem::OnStateLeave(s32 param1) { this->mNextEquip = -1; puVar4 = (unk32 *) this + 20; - puVar5 = (unk32 *) this + 22; - for (; puVar4 != puVar5; puVar4 = puVar4 + 4) { + for (; puVar4 != (unk32 *) this + 22; puVar4 = puVar4 + 4) { func_ov000_020b7e6c(puVar4); } if (gPlayerControl->mUnk_80 != false) {