type PlayerStatus::unk_D8

This commit is contained in:
Alex Bates 2020-09-08 12:24:16 +01:00
parent 8d7e4b327e
commit db1accd991
No known key found for this signature in database
GPG Key ID: 5E11C2DB78877706
2 changed files with 2 additions and 2 deletions

View File

@ -1367,7 +1367,7 @@ typedef struct PlayerStatus {
/* 0x0C4 */ char unk_C4[8]; /* 0x0C4 */ char unk_C4[8];
/* 0x0CC */ s32 shadowID; /* 0x0CC */ s32 shadowID;
/* 0x0D0 */ char unk_D0[8]; /* 0x0D0 */ char unk_D0[8];
/* 0x0D8 */ UNK_PTR unk_D8; /* 0x0D8 */ UNK_PTR** unk_D8;
/* 0x0DC */ s32 currentButtons; /* 0x0DC */ s32 currentButtons;
/* 0x0E0 */ s32 pressedButtons; /* 0x0E0 */ s32 pressedButtons;
/* 0x0E4 */ s32 heldButtons; /* 0x0E4 */ s32 heldButtons;

View File

@ -151,7 +151,7 @@ void set_action_state(s32 actionState) {
} }
if (player_status->unk_D8) { 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; player_status->unk_D8 = NULL;
} }
} }