mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix incorrect padding in CFrameSnapshot
'CFrameSnapshot::m_TickUpdate::m_nCommandTick' was at 0x44, the shifting was fixed by removing the extraneous padding.
This commit is contained in:
parent
cef62d7f4d
commit
3d80049ad4
@ -19,8 +19,7 @@ struct CFrameSnapshot
|
||||
_BYTE snap_byte25;
|
||||
_BYTE snap_byte26;
|
||||
__unaligned __declspec(align(1)) _WORD word27;
|
||||
_BYTE gap29[3];
|
||||
nettick_t snap_tick_update;
|
||||
nettick_t m_TickUpdate;
|
||||
_BYTE gap44[4];
|
||||
_QWORD qword48;
|
||||
_QWORD qword50;
|
||||
@ -29,4 +28,6 @@ struct CFrameSnapshot
|
||||
char transmit_entity[4096];
|
||||
};
|
||||
|
||||
static_assert(sizeof(CFrameSnapshot) == 0x21858);
|
||||
|
||||
#endif // FRAMESNAPSHOT_H
|
Loading…
x
Reference in New Issue
Block a user