From 5f526aadb563bc3083dd8709b9b87bd628079f42 Mon Sep 17 00:00:00 2001 From: mike8699 Date: Sat, 4 Jan 2025 18:26:53 -0500 Subject: [PATCH] Fix misplaced case block --- src/00_Core/Player/LinkStateItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/00_Core/Player/LinkStateItem.cpp b/src/00_Core/Player/LinkStateItem.cpp index 35363720..313c11fa 100644 --- a/src/00_Core/Player/LinkStateItem.cpp +++ b/src/00_Core/Player/LinkStateItem.cpp @@ -46,7 +46,6 @@ ARM void LinkStateItem::OnStateLeave(s32 param1) { } func_ov014_0211fd04(*(s32 *) (0x20abf48)); break; - case 9: case 0: break; case 1: break; case 2: break; @@ -54,6 +53,7 @@ ARM void LinkStateItem::OnStateLeave(s32 param1) { case 5: break; case 6: EquipRope::StopUsing(this); break; case 8: EquipHammer::StopUsing(this); break; + case 9: case 10: iVar3 = *(int *) (0x20abf44); *(unk8 *) (iVar3 + 0x2a) = 0;