From f2070b6743fb0049f215ed356d6963bbd3b0185a Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Tue, 30 Jul 2024 15:09:44 +0200 Subject: [PATCH] Server: fix incorrectly placed entity handle field Datamap and assembly confirmed this field should be at 0x6bf4. The other nearby fields align properly now as well. --- src/game/server/player.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/player.h b/src/game/server/player.h index e308ab74..b5dfb03b 100644 --- a/src/game/server/player.h +++ b/src/game/server/player.h @@ -528,11 +528,11 @@ private: int m_lastUCmdSimulationTicks; int m_lastUCmdSimulationRemainderTime; // Originally float??? float m_totalExtraClientCmdTimeAttempted; - EHANDLE m_hPlayerViewEntity; bool m_atLeastOneCommandRunThisServerFrame; bool m_bGamePaused; bool m_bPlayerUnderwater; bool m_wasPhaseShiftedForTriggers; + EHANDLE m_hPlayerViewEntity; bool m_bShouldDrawPlayerWhileUsingViewEntity; char gap_6bf9[3]; EHANDLE m_hConstraintEntity;