This commit is contained in:
explorer
2024-11-09 17:36:57 +03:00
parent bdf8f51f29
commit 82e3a8fd55
2 changed files with 5 additions and 10 deletions

View File

@ -75,13 +75,13 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu
static float Previous_Move_Angle_Y;
if ((Command->Buttons & 2) == 2)
if ((Command->Buttons & 2) + *(__int8*)((unsigned __int32)Local_Player + 324) == 4)
{
Command->Move[0] = 0;
if (*(__int32*)((unsigned __int32)Local_Player + 316) == -1)
{
Command->Buttons &= ~(*(__int8*)((unsigned __int32)Local_Player + 324) & 2);
Command->Buttons &= ~2;
}
else
{