From 7526de9b766662906509c96fe3fe1e65630098ce Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Sun, 7 Nov 2021 18:57:55 +0100 Subject: [PATCH] Fix struct --- src/game/structs.hpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/game/structs.hpp b/src/game/structs.hpp index ce95cef..612b14a 100644 --- a/src/game/structs.hpp +++ b/src/game/structs.hpp @@ -305,21 +305,26 @@ namespace game struct playerState_s { - char __pad0[1260]; - unsigned int perks[2]; - unsigned int perkSlots[9]; - char __pad1[11752]; + char __pad0[0x4EC]; + unsigned int perks[0x2]; + unsigned int perkSlots[0x9]; + char __pad1[0x2DE8]; }; struct gclient_s { playerState_s ps; + char __pad0[0x2ED]; + int flags; }; struct gentity_s { int entnum; - char __pad0[340]; + char __pad0[0x154]; gclient_s* client; + char __pad1[0x28]; + int flags; + char __pad2[0xEC]; }; } \ No newline at end of file