diff --git a/src/Components/Modules/Slowmotion.cpp b/src/Components/Modules/Slowmotion.cpp index 7a1bce89..096459c1 100644 --- a/src/Components/Modules/Slowmotion.cpp +++ b/src/Components/Modules/Slowmotion.cpp @@ -21,11 +21,11 @@ namespace Components __asm { pushad - push [esp + 20h] + push[esp + 18h] call SlowMotion::ApplySlowMotion - pop ecx + add esp, 4 popad retn @@ -76,10 +76,10 @@ namespace Components void SlowMotion::DrawConnectionInterruptedStub(int /*a1*/) { -// if (!*reinterpret_cast(0x1AD8ED0) && !*reinterpret_cast(0x1AD8EEC) && !*reinterpret_cast(0x1AD78F8)) -// { -// Utils::Hook::Call(0x454A70)(a1); -// } + // if (!*reinterpret_cast(0x1AD8ED0) && !*reinterpret_cast(0x1AD8EEC) && !*reinterpret_cast(0x1AD78F8)) + // { + // Utils::Hook::Call(0x454A70)(a1); + // } } SlowMotion::SlowMotion() @@ -91,4 +91,4 @@ namespace Components Utils::Hook(0x4A54ED, SlowMotion::DrawConnectionInterruptedStub, HOOK_CALL).install()->quick(); Utils::Hook(0x4A54FB, SlowMotion::DrawConnectionInterruptedStub, HOOK_CALL).install()->quick(); } -} +} \ No newline at end of file