recompute climbing damage

This commit is contained in:
explorer
2025-02-04 13:27:57 +03:00
parent 1fc61ba184
commit 31043114f0
3 changed files with 17 additions and 6 deletions

View File

@ -577,9 +577,7 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu
if ((Infected ^ 1) + (Gender == 15) != 0)
{
using Get_Sequence_Name_Type = char*(__thiscall*)(void* Entity, __int32 Sequence);
if (__builtin_strstr(Get_Sequence_Name_Type((unsigned __int32)Client_Module + 203392)(Target->Self, *(__int32*)((unsigned __int32)Target->Self + 2212)), "hove") == nullptr)
if (__builtin_strstr(Get_Sequence_Name(Target->Self), "hove") == nullptr)
{
using Perform_Shove_Trace = __int8(__thiscall*)(void* Weapon, float* Direction);