mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix max_players showing incorrect max_player count
Moved m_nMaxMilesAudioQueues in CGlobalVarsBase behind m_nMaxClients. m_nMaxClients and m_nGameMode align correctly now, including the mapname and mapversion in CGlobalVars
This commit is contained in:
parent
68b3185a41
commit
dec7cc0fa5
@ -25,8 +25,8 @@ public:
|
||||
float m_fFrameTime; // Time spent on last server or client frame (has nothing to do with think intervals) (Also empty on dedicated)
|
||||
float m_fCurTime;
|
||||
char m_nPad0[24]; // All unknown.
|
||||
int m_nMaxMilesAudioQueues; // Only used on the server.
|
||||
int m_nMaxClients; // Current maxplayers setting
|
||||
int m_nMaxMilesAudioQueues_Maybe; // Only used on the server.
|
||||
GameMode_t m_nGameMode; // 1 (MP) 2 (PVE) 3 (SP)
|
||||
int m_nTickCount; // Simulation ticks - does not increase when game is paused - resets on restart.
|
||||
int m_nUnk0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user