mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2025-07-18 17:37:59 +08:00
optional intersection testing. mindamage is next
This commit is contained in:
30
Move.hpp
30
Move.hpp
@ -4,10 +4,26 @@ __int32 Extra_Commands;
|
||||
|
||||
void Redirected_Move(float Unknown_Parameter, __int8 Final)
|
||||
{
|
||||
using Run_Prediction_Type = void(__cdecl*)();
|
||||
|
||||
if (*(void**)((unsigned __int32)Client_Module + 7498712) != nullptr)
|
||||
{
|
||||
Redirected_Read_Packets(Final);
|
||||
|
||||
Run_Prediction_Type((unsigned __int32)Engine_Module + 527776)();
|
||||
|
||||
using Update_Animations_Type = void(__cdecl*)();
|
||||
|
||||
Update_Animations_Type((unsigned __int32)Client_Module + 205296)();
|
||||
|
||||
Update_Animation_Time = (*(Global_Variables_Structure**)((unsigned __int32)Client_Module + 7096744))->Current_Time;
|
||||
|
||||
Update_Animation_Type = 1;
|
||||
|
||||
Update_Animations_Type((unsigned __int32)Client_Module + 205296)();
|
||||
|
||||
Update_Animation_Type = 0;
|
||||
|
||||
using Fire_Events_Type = void(__cdecl*)();
|
||||
|
||||
Fire_Events_Type((unsigned __int32)Engine_Module + 521648)();
|
||||
@ -19,6 +35,8 @@ void Redirected_Move(float Unknown_Parameter, __int8 Final)
|
||||
{
|
||||
(decltype(&Redirected_Move)(Original_Move_Caller))(Unknown_Parameter, Final);
|
||||
|
||||
Run_Prediction_Type((unsigned __int32)Engine_Module + 527776)();
|
||||
|
||||
if (Extra_Commands > 0)
|
||||
{
|
||||
Extra_Commands -= 1;
|
||||
@ -26,16 +44,4 @@ void Redirected_Move(float Unknown_Parameter, __int8 Final)
|
||||
goto Move_Label;
|
||||
}
|
||||
}
|
||||
|
||||
using Update_Animations_Type = void(__cdecl*)();
|
||||
|
||||
Update_Animations_Type((unsigned __int32)Client_Module + 205296)();
|
||||
|
||||
Update_Animation_Time = (*(Global_Variables_Structure**)((unsigned __int32)Client_Module + 7096744))->Current_Time;
|
||||
|
||||
Update_Animation_Type = 1;
|
||||
|
||||
Update_Animations_Type((unsigned __int32)Client_Module + 205296)();
|
||||
|
||||
Update_Animation_Type = 0;
|
||||
}
|
Reference in New Issue
Block a user