From d063a96e06fa9d4d6de519d6f1ee4f7b22d31a87 Mon Sep 17 00:00:00 2001 From: rei-2 <174158077+rei-2@users.noreply.github.com> Date: Mon, 5 Oct 2026 21:52:40 -0400 Subject: [PATCH] fix for latest game update --- Amalgam/src/Hooks/CSoundEmitterSystem_EmitSound.cpp | 2 +- Amalgam/src/SDK/Definitions/Main/CModel.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Amalgam/src/Hooks/CSoundEmitterSystem_EmitSound.cpp b/Amalgam/src/Hooks/CSoundEmitterSystem_EmitSound.cpp index ca4f9fdf..22b8aae8 100644 --- a/Amalgam/src/Hooks/CSoundEmitterSystem_EmitSound.cpp +++ b/Amalgam/src/Hooks/CSoundEmitterSystem_EmitSound.cpp @@ -2,7 +2,7 @@ MAKE_SIGNATURE(CSoundEmitterSystem_EmitSound, "client.dll", "48 89 5C 24 ? 48 89 6C 24 ? 48 89 74 24 ? 41 56 48 81 EC ? ? ? ? 49 8B D9", 0x0); //MAKE_SIGNATURE(S_StartDynamicSound, "engine.dll", "4C 8B DC 57 48 81 EC", 0x0); -MAKE_SIGNATURE(S_StartSound, "engine.dll", "40 53 48 83 EC ? 48 83 79 ? ? 48 8B D9 75 ? 33 C0", 0x0); +MAKE_SIGNATURE(S_StartSound, "engine.dll", "40 57 48 81 EC ? ? ? ? 48 83 79", 0x0); MAKE_SIGNATURE(CBaseEntity_EmitSound, "client.dll", "48 89 5C 24 ? 55 56 57 41 54 41 55 41 56 41 57 48 8D 6C 24 ? 48 81 EC ? ? ? ? 48 8B 3D", 0x0); class IRecipientFilter diff --git a/Amalgam/src/SDK/Definitions/Main/CModel.h b/Amalgam/src/SDK/Definitions/Main/CModel.h index 9c50280c..f829d3c3 100644 --- a/Amalgam/src/SDK/Definitions/Main/CModel.h +++ b/Amalgam/src/SDK/Definitions/Main/CModel.h @@ -6,7 +6,7 @@ #define AREA_SOLID 1 #define AREA_TRIGGERS 2 -#define NUMSIDES_BOXBRUSH 0xFFFF +#define NUMSIDES_BOXBRUSH 0xFFFFFFFF #define MAXLIGHTMAPS 4 #define SURFDRAW_NOLIGHT 0x00000001 @@ -384,9 +384,9 @@ struct cnode_t struct cbrush_t { - int contents; - unsigned short numsides; - unsigned short firstbrushside; + int contents; + int numsides; + int firstbrushside; inline int GetBox() const { return firstbrushside; } inline void SetBox(int boxID)