Make mpGetPlayerRankings work with many chrs

This commit is contained in:
Ryan Dwyer
2022-11-08 20:40:53 +10:00
parent 3925f13d73
commit c9073f2953
3 changed files with 14 additions and 28 deletions
+1 -2
View File
@@ -1505,10 +1505,9 @@
#define MAX_CHRWAYPOINTS 6
#define MAX_DANGEROUSPROPS 12
#define MAX_LIFTS 10
#define MAX_MPCHRS (4 + MAX_BOTS)
#define MAX_MPCHRS 1000
#define MAX_MPCHRCONFIGS (4 + MAX_BOTCONFIGS)
#define MAX_OBJECTIVES 10
#define MAX_BOTS 8
#define MAX_BOTCONFIGS 8
#define MAX_SPAWNPOINTS 24
#define MAX_SQUADRONS 16
+3 -4
View File
@@ -4797,11 +4797,10 @@ struct chrbio {
struct ranking {
struct mpchr *mpchr;
union {
u32 teamnum;
u32 chrnum;
u16 teamnum;
u16 chrnum;
};
u32 positionindex;
u8 unk0c;
u16 positionindex;
s32 score;
};