From 0d0eaa24d16314799c08315b5a3e7721cb0ba996 Mon Sep 17 00:00:00 2001 From: Yimura Date: Fri, 28 Jan 2022 02:25:13 +0100 Subject: [PATCH] fix(CNavigation): Struct alignment off by 4 bytes --- CNavigation.hpp | 4 ++-- gtav.rcnet | Bin 12489 -> 12491 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CNavigation.hpp b/CNavigation.hpp index 55cbcde..e4e146a 100644 --- a/CNavigation.hpp +++ b/CNavigation.hpp @@ -9,7 +9,7 @@ public: float m_heading2; //0x0024 char pad_0028[8]; //0x0028 rage::fvector3 m_rotation; //0x0030 - char pad_003C[24]; //0x003C + char pad_003C[20]; //0x003C rage::fvector3 m_position; //0x0054 }; //Size: 0x0060 -static_assert(sizeof(CNavigation) == 0x60); +static_assert(sizeof(CNavigation) == 0x5C); diff --git a/gtav.rcnet b/gtav.rcnet index 1713f289bbebc4054a98528c40950d905750732c..99e9b26beac34e3570a1351b6f3a092a124cadde 100644 GIT binary patch delta 1875 zcma)7c{JOJ8r7&lJv+&arHmF;Ya7%@4xSl?+&;Pxd~fYu%8uSV`JlD zqYCNT{=hBJZQme#M*)bMxGdpF$wWIOG!6MNL&CgsB~#Ekxa}R+jL$%{p2vlKu8iD! ze<#yFv{>&&P3_o^VqwMqpTGy@F$0uRFR(spPWD0V_UntVe2q{H^R0i_4AIE=HRis9 zEAYVNoN@S5jw%l0@PnuCB`3FM>w*)Wu_nzBMjjadg+y_G$|+Iy55rr zNOb2kgfX?#rNkQRiPD2aqHC#pQH+%|`|qU&*u!Y@d&@gh#5&e+X?jYV?i*sNB;`x1y1LlvBV-8P5n1+;y1oMd3k^Rm!)>{mQ?oN>(95Fp#$gX8+>(rOKTF z=R#`JYI>6^upR?F)=lD%wvZ^Un*AAUBJZr@ox#);?W=T!A81COglO}&0swTjGe!v!c4NVo@^CvHmFkoI zqR+%Wr`es^pX;aef8xKkx$Jvy$bh7{+NLCN)ddfahIP|Ga! zRYdgeD>fjk6FVpW5e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