fix(CNonPhysicalPlayerData): Align to 4 bytes

This commit is contained in:
Yimura 2022-01-29 21:34:01 +01:00
parent 47d153b423
commit 5705a0a121

View File

@ -15,6 +15,7 @@ namespace rage
static_assert(sizeof(nonPhysicalPlayerDataBase) == 0x8);
}
#pragma pack(push, 4)
class CNonPhysicalPlayerData : public rage::nonPhysicalPlayerDataBase
{
public:
@ -23,3 +24,4 @@ public:
rage::fvector3 m_position; //0x0010
}; //Size: 0x001C
static_assert(sizeof(CNonPhysicalPlayerData) == 0x1C);
#pragma pack(pop)