From 5420ace13dd7ce0e3a8a2b7f26b36649d6c063b6 Mon Sep 17 00:00:00 2001 From: explorer Date: Fri, 25 Oct 2024 08:39:34 +0300 Subject: [PATCH] normalize action value for xor testing --- Copy_Command.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Copy_Command.hpp b/Copy_Command.hpp index 907fef1..aa0adb8 100644 --- a/Copy_Command.hpp +++ b/Copy_Command.hpp @@ -376,7 +376,7 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu __int8 Is_Melee = *(__int32*)((unsigned __int32)Weapon_Data + 352) * (*(__int32*)((unsigned __int32)Weapon_Data + 348) ^ 1) <= 1; - __int32 Action = *(__int32*)((unsigned __int32)Local_Player + 7080); + __int32 Action = *(__int32*)((unsigned __int32)Local_Player + 7080) != 0; __int8 Reviving = *(void**)((unsigned __int32)Local_Player + 8076) != INVALID_HANDLE_VALUE;