From 4de4f92f14f7e5c9623ba750bae9ca6c489ac294 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sun, 16 Jul 2023 23:45:51 +0200 Subject: [PATCH] Rename bool array in CServer This is definitely something for teams, also 126 in size. Not exactly sure what it does. All array elements appear to be set to true. --- r5dev/engine/server/server.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/r5dev/engine/server/server.h b/r5dev/engine/server/server.h index 844229b3..951c4969 100644 --- a/r5dev/engine/server/server.h +++ b/r5dev/engine/server/server.h @@ -89,15 +89,15 @@ private: int m_nMaxClients; char gap_3C0[8]; // Unknown count (something for teams), see '[r5apex_ds.exe + 0x2777E9]' int64_t m_iMaxTeams; - float m_flTickInterval; // Time for 1 tick in seconds. - float m_flTimescale; // The game time scale (multiplied in conjunction with host_timescale). + float m_flTickInterval; // Time for 1 tick in seconds + float m_flTimescale; // The game time scale (multiplied in conjunction with host_timescale) char gap_3D8[40]; CClient m_Clients[MAX_PLAYERS]; char gap_25263c0[48]; float m_fCPUPercent; float m_fStartTime; float m_fLastCPUCheckTime; - bool m_bPersistenceSet[MAX_PLAYERS]; // Maps to 'm_Clients'. + bool m_bTeams[MAX_TEAMS]; // Something with teams, unclear what this does; see '[r5apex_ds.exe + 0x30CE40]' }; #if defined (GAMEDLL_S0) || defined (GAMEDLL_S1) // !TODO: check if struct size is correct for S1!