mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-09-07 19:00:41 -04:00
Make mpGetPlayerRankings work with many chrs
This commit is contained in:
@@ -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
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user