From 22d9840ed1ed032fbaa839fb837cc3df4fc01d99 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Sat, 11 Apr 2026 08:44:22 +0200 Subject: [PATCH] Fix field array size on field_0x50 (#3145) UB caught by modern compilers, this fixes it. --- include/d/actor/d_a_npc_lf.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/d/actor/d_a_npc_lf.h b/include/d/actor/d_a_npc_lf.h index 73f66c286f..4b86f24686 100644 --- a/include/d/actor/d_a_npc_lf.h +++ b/include/d/actor/d_a_npc_lf.h @@ -24,8 +24,7 @@ struct lf_s { /* 0x44 */ f32 field_0x44; /* 0x48 */ f32 field_0x48; /* 0x4C */ s16 field_0x4c[2]; - /* 0x50 */ s16 field_0x50[2]; - /* 0x54 */ u8 field_0x54[4]; + /* 0x50 */ s16 field_0x50[4]; /* 0x58 */ f32 field_0x58; /* 0x5C */ f32 field_0x5c; /* 0x60 */ f32 field_0x60;