From bffae9999cf35a5fbdeb92387b9fae58796b8939 Mon Sep 17 00:00:00 2001 From: rei-2 <174158077+rei-2@users.noreply.github.com> Date: Fri, 19 Dec 2025 21:32:34 -0500 Subject: [PATCH] forgot, actually delete the file --- Amalgam/Amalgam.vcxproj | 1 - Amalgam/Amalgam.vcxproj.filters | 1 - .../src/Hooks/CTFPlayer_UpdateStepSound.cpp | 23 ------------------- 3 files changed, 25 deletions(-) delete mode 100644 Amalgam/src/Hooks/CTFPlayer_UpdateStepSound.cpp diff --git a/Amalgam/Amalgam.vcxproj b/Amalgam/Amalgam.vcxproj index 4ed88afa..a980064a 100644 --- a/Amalgam/Amalgam.vcxproj +++ b/Amalgam/Amalgam.vcxproj @@ -1022,7 +1022,6 @@ - diff --git a/Amalgam/Amalgam.vcxproj.filters b/Amalgam/Amalgam.vcxproj.filters index 834da8f8..ae3d7900 100644 --- a/Amalgam/Amalgam.vcxproj.filters +++ b/Amalgam/Amalgam.vcxproj.filters @@ -146,7 +146,6 @@ - diff --git a/Amalgam/src/Hooks/CTFPlayer_UpdateStepSound.cpp b/Amalgam/src/Hooks/CTFPlayer_UpdateStepSound.cpp deleted file mode 100644 index b59cefe4..00000000 --- a/Amalgam/src/Hooks/CTFPlayer_UpdateStepSound.cpp +++ /dev/null @@ -1,23 +0,0 @@ -#include "../SDK/SDK.h" - -/* -MAKE_SIGNATURE(CTFPlayer_UpdateStepSound, "client.dll", "48 89 5C 24 ? 48 89 6C 24 ? 48 89 74 24 ? 48 89 7C 24 ? 41 56 48 83 EC ? 4C 8B F2 48 8B F9 BA", 0x0); -MAKE_SIGNATURE(CTFPlayer_FireEvent_UpdateStepSound_Call, "client.dll", "4D 85 F6 0F 84 ? ? ? ? 48 8D 8E", 0x0); - -MAKE_HOOK(CTFPlayer_UpdateStepSound, S::CTFPlayer_UpdateStepSound(), void, - void* rcx, void* psurface, const Vec3& vecOrigin, const Vec3& vecVelocity) -{ -#ifdef DEBUG_HOOKS - if (!Vars::Hooks::CTFPlayer_UpdateStepSound[DEFAULT_BIND]) - return CALL_ORIGINAL(rcx, psurface, vecOrigin, vecVelocity); -#endif - - const auto dwDesired = S::CTFPlayer_FireEvent_UpdateStepSound_Call(); - const auto dwRetAddr = uintptr_t(_ReturnAddress()); - - if (dwRetAddr == dwDesired && rcx == H::Entities.GetLocal()) - return; - - CALL_ORIGINAL(rcx, psurface, vecOrigin, vecVelocity); -} -*/ \ No newline at end of file