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