Use dynamically allocated arrays for aibots tracking other chrs

This commit is contained in:
Ryan Dwyer
2022-11-06 15:30:11 +10:00
parent e5e9e7333b
commit 94717149a0
2 changed files with 198 additions and 189 deletions
+5 -5
View File
@@ -794,11 +794,11 @@ struct aibot {
/*0x124*/ s32 lastseenanytarget60;
/*0x128*/ bool targetinsight;
/*0x12c*/ s32 queryplayernum;
/*0x130*/ s8 chrnumsbydistanceasc[12];
/*0x13c*/ f32 chrdistances[MAX_MPCHRS];
/*0x16c*/ u8 chrsinsight[MAX_MPCHRS];
/*0x178*/ s32 chrslastseen60[MAX_MPCHRS];
/*0x1a8*/ s16 chrrooms[MAX_MPCHRS];
/*0x130*/ s16 chrnumsbydistanceasc[12];
/*0x13c*/ f32 *chrdistances;
/*0x16c*/ u8 *chrsinsight;
/*0x178*/ s32 *chrslastseen60;
/*0x1a8*/ s8 *chrrooms;
/*0x1c0*/ f32 unk1c0;
/*0x1c4*/ f32 unk1c4;
/*0x1c8*/ f32 unk1c8;