Limit aibot->chrnumsbydistanceasc to 12 elements

This commit is contained in:
Ryan Dwyer
2022-11-06 15:16:08 +10:00
parent 01e668f2eb
commit e5e9e7333b
2 changed files with 22 additions and 12 deletions
+1 -1
View File
@@ -794,7 +794,7 @@ struct aibot {
/*0x124*/ s32 lastseenanytarget60;
/*0x128*/ bool targetinsight;
/*0x12c*/ s32 queryplayernum;
/*0x130*/ s8 chrnumsbydistanceasc[MAX_MPCHRS];
/*0x130*/ s8 chrnumsbydistanceasc[12];
/*0x13c*/ f32 chrdistances[MAX_MPCHRS];
/*0x16c*/ u8 chrsinsight[MAX_MPCHRS];
/*0x178*/ s32 chrslastseen60[MAX_MPCHRS];