fix(fwEntity): Align data to 4 bytes

This commit is contained in:
Yimura 2022-01-28 00:59:11 +01:00
parent 70922bb767
commit e77e24fbe0
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682

View File

@ -6,6 +6,7 @@
namespace rage namespace rage
{ {
#pragma pack(push, 4)
class fwEntity class fwEntity
{ {
public: public:
@ -25,4 +26,5 @@ namespace rage
uint32_t m_damage_bits; //0x0188 uint32_t m_damage_bits; //0x0188
}; //Size: 0x018C }; //Size: 0x018C
static_assert(sizeof(fwEntity) == 0x18C); static_assert(sizeof(fwEntity) == 0x18C);
#pragma pack(pop)
} }