mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2024-12-22 14:47:24 +08:00
nothing
This commit is contained in:
parent
bdf8f51f29
commit
82e3a8fd55
@ -75,13 +75,13 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu
|
|||||||
|
|
||||||
static float Previous_Move_Angle_Y;
|
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;
|
Command->Move[0] = 0;
|
||||||
|
|
||||||
if (*(__int32*)((unsigned __int32)Local_Player + 316) == -1)
|
if (*(__int32*)((unsigned __int32)Local_Player + 316) == -1)
|
||||||
{
|
{
|
||||||
Command->Buttons &= ~(*(__int8*)((unsigned __int32)Local_Player + 324) & 2);
|
Command->Buttons &= ~2;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -161,16 +161,11 @@ __int32 __stdcall DllMain(HMODULE This_Module, unsigned __int32 Call_Reason, voi
|
|||||||
|
|
||||||
GetConsoleScreenBufferInfo(Standard_Output_Handle, &Console_Screen_Buffer_Information);
|
GetConsoleScreenBufferInfo(Standard_Output_Handle, &Console_Screen_Buffer_Information);
|
||||||
|
|
||||||
COORD Top_Left =
|
COORD Top_Left = { };
|
||||||
{
|
|
||||||
0,
|
|
||||||
|
|
||||||
0
|
DWORD Characters_Written;
|
||||||
};
|
|
||||||
|
|
||||||
DWORD Characters_Written_Count;
|
FillConsoleOutputAttribute(Standard_Output_Handle, FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED | FOREGROUND_INTENSITY | BACKGROUND_BLUE, Console_Screen_Buffer_Information.dwSize.X * Console_Screen_Buffer_Information.dwSize.Y, Top_Left, &Characters_Written);
|
||||||
|
|
||||||
FillConsoleOutputAttribute(Standard_Output_Handle, FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED | FOREGROUND_INTENSITY | BACKGROUND_BLUE, Console_Screen_Buffer_Information.dwSize.X * Console_Screen_Buffer_Information.dwSize.Y, Top_Left, &Characters_Written_Count);
|
|
||||||
|
|
||||||
Engine_Module = GetModuleHandleW(L"engine.dll");
|
Engine_Module = GetModuleHandleW(L"engine.dll");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user