summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>2026-04-11 08:44:22 +0200
committerGitHub <noreply@github.com>2026-04-10 23:44:22 -0700
commit22d9840ed1ed032fbaa839fb837cc3df4fc01d99 (patch)
tree709fecc43aedb18ebd3235a30a1ab3a4576a2e74
parentd7c34741e23297863254089125ed9ab56617dc5b (diff)
Fix field array size on field_0x50 (#3145)
UB caught by modern compilers, this fixes it.
-rw-r--r--include/d/actor/d_a_npc_lf.h3
1 files changed, 1 insertions, 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;