[Structs] Fix gentity_s fields type

This commit is contained in:
FutureRave 2022-01-22 13:00:44 +00:00
parent 0cf1143f94
commit 8ae86de0b3
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955

View File

@ -5501,14 +5501,14 @@ namespace Game
void /*Vehicle*/* vehicle; void /*Vehicle*/* vehicle;
int physObjId; int physObjId;
unsigned __int16 model; unsigned __int16 model;
char physicsObject; unsigned char physicsObject;
char takedamage; unsigned char takedamage;
char active; unsigned char active;
char handler; unsigned char handler;
char team; unsigned char team;
bool freeAfterEvent; bool freeAfterEvent;
__int16 padding_short; __int16 padding_short;
short classname; unsigned __int16 classname;
unsigned __int16 script_classname; unsigned __int16 script_classname;
unsigned __int16 script_linkName; unsigned __int16 script_linkName;
unsigned __int16 target; unsigned __int16 target;
@ -5537,6 +5537,9 @@ namespace Game
} gentity_t; } gentity_t;
#pragma pack(push, 1) #pragma pack(push, 1)
static_assert(sizeof(gentity_s) == 0x274);
typedef struct client_s typedef struct client_s
{ {
clientstate_t state; // 0 clientstate_t state; // 0