optional intersection testing. mindamage is next

This commit is contained in:
explorer
2024-10-08 04:41:25 +03:00
parent 932f00bf0e
commit c068afb171
20 changed files with 409 additions and 22 deletions

View File

@ -59,10 +59,6 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu
if (*(__int8*)((unsigned __int32)Local_Player + 327) == 0)
{
using Run_Prediction_Type = void(__cdecl*)();
Run_Prediction_Type((unsigned __int32)Engine_Module + 527776)();
float Move_Angles[3] =
{
Command->Angles[0],
@ -201,9 +197,9 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu
{
if ((*(float*)((unsigned __int32)Local_Player + 4604) + 800 * Global_Variables->Interval_Per_Tick >= 560) + (*(__int8*)((unsigned __int32)Local_Player + 8068) + *(__int8*)((unsigned __int32)Local_Player + 9708)) != 0)
{
Sequence_Shift(2);
Command->Buttons &= ~10241;
Run_Prediction_Type((unsigned __int32)Engine_Module + 527776)();
Sequence_Shift(2);
}
else
{