mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix CHostState structure alignment for builds below S3
Static level name array size has been increased from 32 bytes to 64 bytes in S3
This commit is contained in:
parent
1fb89c35c8
commit
0fa525c717
@ -37,7 +37,7 @@ public:
|
||||
HostStates_t m_iNextState; //0x0004
|
||||
Vector3 m_vecLocation; //0x0008
|
||||
QAngle m_angLocation; //0x0014
|
||||
char m_levelName[64]; //0x0020
|
||||
char m_levelName[MAX_LEVELNAME_LEN]; //0x0020
|
||||
char m_mapGroupName[256]; //0x0060
|
||||
char m_landMarkName[256]; //0x0160
|
||||
float m_flShortFrameTime; //0x0260
|
||||
|
@ -16,6 +16,12 @@
|
||||
|
||||
#define MAX_PLAYERS 128 // Max R5 players.
|
||||
|
||||
#if !defined (GAMEDLL_S0) && !defined (GAMEDLL_S1) && !defined (GAMEDLL_S2)
|
||||
#define MAX_LEVELNAME_LEN 64
|
||||
#else
|
||||
#define MAX_LEVELNAME_LEN 32
|
||||
#endif // Max BSP file name len.
|
||||
|
||||
#define SDK_VERSION "beta 1.6"/*"VGameSDK001"*/ // Increment this with every /breaking/ SDK change (i.e. security/backend changes breaking compatibility).
|
||||
|
||||
#ifndef DEDICATED
|
||||
|
Loading…
x
Reference in New Issue
Block a user