mirror of
https://github.com/rei-2/Amalgam
synced 2026-10-10 04:43:09 +08:00
forgot, actually delete the file
This commit is contained in:
@@ -1022,7 +1022,6 @@
|
||||
<ClCompile Include="src\Hooks\CTFPlayer_DoAnimationEvent.cpp" />
|
||||
<ClCompile Include="src\Hooks\CTFPlayer_IsPlayerClass.cpp" />
|
||||
<ClCompile Include="src\Hooks\CTFPlayer_ShouldDraw.cpp" />
|
||||
<ClCompile Include="src\Hooks\CTFPlayer_UpdateStepSound.cpp" />
|
||||
<ClCompile Include="src\Hooks\CTFRagdoll_CreateTFRagdoll.cpp" />
|
||||
<ClCompile Include="src\Hooks\CTFWeaponBase_CalcIsAttackCritical.cpp" />
|
||||
<ClCompile Include="src\Hooks\CTFWeaponBase_GetShootSound.cpp" />
|
||||
|
||||
@@ -146,7 +146,6 @@
|
||||
<ClCompile Include="src\Hooks\CTFPlayer_DoAnimationEvent.cpp" />
|
||||
<ClCompile Include="src\Hooks\CTFPlayer_IsPlayerClass.cpp" />
|
||||
<ClCompile Include="src\Hooks\CTFPlayer_ShouldDraw.cpp" />
|
||||
<ClCompile Include="src\Hooks\CTFPlayer_UpdateStepSound.cpp" />
|
||||
<ClCompile Include="src\Hooks\CTFPlayerInventory_GetMaxItemCount.cpp" />
|
||||
<ClCompile Include="src\Hooks\CTFPlayerPanel_GetTeam.cpp" />
|
||||
<ClCompile Include="src\Hooks\CTFPlayerShared_InCond.cpp" />
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
*/
|
||||
Reference in New Issue
Block a user