Fix position struct

This commit is contained in:
Ryan Dwyer 2019-10-09 20:11:43 +10:00
parent 0d642c23f3
commit f4cc5e5684
2 changed files with 2 additions and 2 deletions

View File

@ -1813,7 +1813,7 @@ bool ai0045(void)
u8 *cmd = g_Vars.ailist + g_Vars.aioffset;
struct chrdata *chr = chrFindById(g_Vars.chrdata, cmd[2]);
if (chr && chr->pos && func0f0393b4(g_Vars.chrdata, &chr->pos->coord, &chr->pos->unk24)) {
if (chr && chr->pos && func0f0393b4(g_Vars.chrdata, &chr->pos->coord, &chr->pos->unk28)) {
g_Vars.aioffset = chraiGoToLabel(g_Vars.ailist, g_Vars.aioffset, cmd[3]);
} else {
g_Vars.aioffset += 4;

View File

@ -17,12 +17,12 @@ struct position {
u16 room;
u32 unk04;
struct coord coord;
u32 unk10;
u32 unk14;
u32 unk18;
u32 unk1c;
u32 unk20;
u32 unk24;
u32 unk28;
};
struct chrdata {