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:
Kawe Mazidjatari 2023-07-02 21:54:21 +02:00
parent 32d28d4285
commit 892fd19c4a

View File

@ -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;