fix typo, anti-afk (fixes #3)

typo is actually on valve's side (array was taken from game's SurvivorCharacterDisplayName function)
This commit is contained in:
explorer
2025-02-01 15:56:59 +03:00
parent d5a3de9a21
commit 631d1e1358
3 changed files with 4 additions and 2 deletions

View File

@ -300,6 +300,8 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu
if ((*(float*)((unsigned __int32)Local_Player + 4604) + 800.f * Global_Variables->Interval_Per_Tick >= 560.f) + *(__int8*)((unsigned __int32)Local_Player + 8068) + *(__int8*)((unsigned __int32)Local_Player + 9708) != 0)
{
Sequence_Shift(2);
Command->Buttons |= 4194304;
}
else
{