diff --git a/Plugins/BulletPhysics/BaseRagdollObject.cpp b/Plugins/BulletPhysics/BaseRagdollObject.cpp index 8f1892eb..6f9f8696 100644 --- a/Plugins/BulletPhysics/BaseRagdollObject.cpp +++ b/Plugins/BulletPhysics/BaseRagdollObject.cpp @@ -290,7 +290,7 @@ void CBaseRagdollObject::Update(CPhysicObjectUpdateContext* ObjectUpdateContext) if (!CalculateOverrideActivityType(playerState, &iNewActivityType, &iNewAnimControlFlags)) { StudioGetActivityType(m_model, playerState, &iNewActivityType, &iNewAnimControlFlags); - } + } if (m_playerindex == m_entindex) { diff --git a/Plugins/BulletPhysics/privatehook.cpp b/Plugins/BulletPhysics/privatehook.cpp index 09786f2c..a616b8d5 100644 --- a/Plugins/BulletPhysics/privatehook.cpp +++ b/Plugins/BulletPhysics/privatehook.cpp @@ -835,6 +835,11 @@ void Engine_FillAddreess(void) if (1) { + if (g_dwEngineBuildnum <= 8684) + { + size_of_frame = 0x42B8; + } + typedef struct { int disableFog_instcount; @@ -936,6 +941,7 @@ void Engine_FillAddreess(void) Sig_VarNotFound(cl_frames); Sig_VarNotFound(cl_parsecount); + Sig_VarNotFound(size_of_frame); } if (1) diff --git a/Plugins/Renderer/gl_hooks.cpp b/Plugins/Renderer/gl_hooks.cpp index 65414406..ce27b806 100644 --- a/Plugins/Renderer/gl_hooks.cpp +++ b/Plugins/Renderer/gl_hooks.cpp @@ -3732,6 +3732,11 @@ void R_FillAddress(void) if (1) { + if (g_dwEngineBuildnum <= 8684) + { + size_of_frame = 0x42B8; + } + typedef struct { int disableFog_instcount; @@ -4055,6 +4060,7 @@ void R_FillAddress(void) Sig_VarNotFound(r_blend); Sig_VarNotFound(cl_frames); Sig_VarNotFound(cl_parsecount); + Sig_VarNotFound(size_of_frame); Sig_FuncNotFound(ClientDLL_DrawTransparentTriangles); if (ctx.r_entorigin_candidate_count >= 2)