mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix incorrect CPlayer member offset
Member offset for 'm_bGamePaused' did not align with the executable, moving the member 'm_hPlayerViewEntity' before the first bool in this row results in correct code generation (also aligns properly in the disassembly of the game's code).
This commit is contained in:
parent
32d28d4285
commit
892fd19c4a
@ -570,11 +570,11 @@ private:
|
||||
int m_lastUCmdSimulationTicks;
|
||||
float m_lastUCmdSimulationRemainderTime;
|
||||
float m_totalExtraClientCmdTimeAttempted;
|
||||
int m_hPlayerViewEntity;
|
||||
bool m_atLeastOneCommandRunThisServerFrame;
|
||||
bool m_bGamePaused;
|
||||
bool m_bPlayerUnderwater;
|
||||
bool m_wasPhaseShiftedForTriggers;
|
||||
int m_hPlayerViewEntity;
|
||||
bool m_bShouldDrawPlayerWhileUsingViewEntity;
|
||||
char gap_6bf9[3];
|
||||
int m_hConstraintEntity;
|
||||
|
Loading…
x
Reference in New Issue
Block a user