mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-05-25 23:34:59 -04:00
Fix player->unk1580 bitfield
This commit is contained in:
@@ -1200,7 +1200,7 @@ glabel func0f0fecd4
|
||||
|
||||
void activemenuOpen(void)
|
||||
{
|
||||
if ((g_Vars.currentplayer->unk1580_s32 & 1) == 0) {
|
||||
if (g_Vars.currentplayer->unk1583_07 == 0) {
|
||||
g_ActiveMenuIndex = g_Vars.currentplayernum;
|
||||
g_Vars.currentplayer->activemenumode = 1;
|
||||
g_PlayersWithControl[g_Vars.currentplayernum] = false;
|
||||
|
||||
+5
-6
@@ -2447,12 +2447,11 @@ struct player {
|
||||
/*0x1574*/ u32 unk1574;
|
||||
/*0x1578*/ u32 unk1578;
|
||||
/*0x157c*/ u32 unk157c;
|
||||
|
||||
union {
|
||||
s8 unk1580;
|
||||
s32 unk1580_s32;
|
||||
};
|
||||
|
||||
/*0x1580*/ s8 unk1580;
|
||||
/*0x1581*/ u8 unk1581;
|
||||
/*0x1582*/ u8 unk1582;
|
||||
/*0x1583*/ u8 unk1583_00 : 7;
|
||||
/*0x1583*/ u8 unk1583_07 : 1;
|
||||
/*0x1584*/ u32 unk1584;
|
||||
/*0x1588*/ u32 unk1588;
|
||||
/*0x158c*/ u32 unk158c;
|
||||
|
||||
Reference in New Issue
Block a user