diff --git a/include/common_structs.h b/include/common_structs.h index bac930aa54..51bb600a53 100644 --- a/include/common_structs.h +++ b/include/common_structs.h @@ -1367,7 +1367,7 @@ typedef struct PlayerStatus { /* 0x0C4 */ char unk_C4[8]; /* 0x0CC */ s32 shadowID; /* 0x0D0 */ char unk_D0[8]; - /* 0x0D8 */ UNK_PTR unk_D8; + /* 0x0D8 */ UNK_PTR** unk_D8; /* 0x0DC */ s32 currentButtons; /* 0x0E0 */ s32 pressedButtons; /* 0x0E4 */ s32 heldButtons; diff --git a/src/code_7bb60_len_41b0.c b/src/code_7bb60_len_41b0.c index 7deec05cc7..413b8f31bd 100644 --- a/src/code_7bb60_len_41b0.c +++ b/src/code_7bb60_len_41b0.c @@ -151,7 +151,7 @@ void set_action_state(s32 actionState) { } if (player_status->unk_D8) { - ((UNK_PTR**) (player_status->unk_D8))[3][9] = 0xA; + player_status->unk_D8[3][9] = 0xA; player_status->unk_D8 = NULL; } }