fix(CNonPhysicalPlayerData): Align to 4 bytes

This commit is contained in:
Yimura 2022-01-29 21:34:01 +01:00
parent ffa9692d24
commit 1e903c6aea
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682

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)