From ed5da8532e974c6898778bc1e78a427500683e03 Mon Sep 17 00:00:00 2001 From: Yimura Date: Mon, 31 Jan 2022 18:07:39 +0100 Subject: [PATCH] fix(CNetworkPlayerMgr): Fixed byte alignment to 2 --- CNetworkPlayerMgr.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CNetworkPlayerMgr.hpp b/CNetworkPlayerMgr.hpp index b26dc65..028e5be 100644 --- a/CNetworkPlayerMgr.hpp +++ b/CNetworkPlayerMgr.hpp @@ -19,6 +19,7 @@ namespace rage static_assert(sizeof(netPlayerMgrBase) == 0x8); } +#pragma pack(push, 2) class CNetworkPlayerMgr : public rage::netPlayerMgrBase { public: @@ -31,3 +32,4 @@ public: uint16_t m_player_count; //0x028C }; //Size: 0x028E static_assert(sizeof(CNetworkPlayerMgr) == 0x28E); +#pragma pack(pop)