From b6a6961ad8617bfc001e73c3f2f00fff662957dd Mon Sep 17 00:00:00 2001 From: gir489 Date: Sat, 14 Mar 2020 02:05:51 -0400 Subject: [PATCH] Added compiler pack alignment value for atArray to allow for proper inline atArrays. --- BigBaseV2/src/gta/array.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BigBaseV2/src/gta/array.hpp b/BigBaseV2/src/gta/array.hpp index 97d7a234..963aaa28 100644 --- a/BigBaseV2/src/gta/array.hpp +++ b/BigBaseV2/src/gta/array.hpp @@ -5,6 +5,7 @@ namespace rage { +#pragma pack(push, 8) template class atArray { @@ -211,4 +212,6 @@ namespace rage std::uint16_t m_size; std::uint16_t m_count; }; + static_assert(sizeof(rage::atArray) == 0x10, "rage::atArray is not properly sized"); +#pragma pack(pop) } \ No newline at end of file