summaryrefslogtreecommitdiff
path: root/src/00_Core/Player/LinkStateItem.cpp
diff options
context:
space:
mode:
authormike8699 <mikebuntu68@gmail.com>2025-01-04 18:24:30 -0500
committermike8699 <mikebuntu68@gmail.com>2025-01-05 19:06:26 -0500
commit6ab289196ebaed3b8b452f4c65b679b4a58c5446 (patch)
treeeb2034e9252299f4531b16b90edb723359bad2a8 /src/00_Core/Player/LinkStateItem.cpp
parentcd8ce661161b8e2bdaaeb3acac871ba2737bae1a (diff)
Fix regalloc issue
Diffstat (limited to 'src/00_Core/Player/LinkStateItem.cpp')
-rw-r--r--src/00_Core/Player/LinkStateItem.cpp4
1 files changed, 1 insertions, 3 deletions
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) {