diff --git a/network/sync/vehicle/CVehicleGadgetData.hpp b/network/sync/vehicle/CVehicleGadgetData.hpp index 0929bae..c6fa037 100644 --- a/network/sync/vehicle/CVehicleGadgetData.hpp +++ b/network/sync/vehicle/CVehicleGadgetData.hpp @@ -9,13 +9,14 @@ public: }; static_assert(sizeof(CGadgetData) == 0xF8); -class CVehicleGadgetNodeData +class alignas(16) CVehicleGadgetNodeData { public: bool m_has_position; char pad_0001[15]; float m_position[4]; uint32_t m_num_gadgets; + char pad_0002[12]; CGadgetData m_gadgets[2]; }; -static_assert(sizeof(CVehicleGadgetNodeData) == 0x214); // Needs to be 0x220, prob from packing at 16. \ No newline at end of file +static_assert(sizeof(CVehicleGadgetNodeData) == 0x220); \ No newline at end of file