From 6f26ee51268b4a7df5f52be76bf10b854cfffca0 Mon Sep 17 00:00:00 2001 From: Wizzard <25581244+Wizzard@users.noreply.toomuchslop.com> Date: Fri, 8 Dec 2023 19:46:26 -0500 Subject: [PATCH] Disabled Asus walls and Nosky from being enabled on startup --- src/Hooks/CreateMove.cpp | 2 +- src/Hooks/FrameStageNotify.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Hooks/CreateMove.cpp b/src/Hooks/CreateMove.cpp index 8e0fc9f..3241abf 100644 --- a/src/Hooks/CreateMove.cpp +++ b/src/Hooks/CreateMove.cpp @@ -34,7 +34,7 @@ void Hooks::CreateMove(IBaseClientDLL* thisptr, int sequence, float frametime, b cmd->forwardmove = (abs(cmd->forwardmove) > 0.f) ? 450.f : 0.f; cmd->sidemove = (cmd->sidemove != 0.f) ? ((cmd->sidemove > 0.f) ? 450.f : -450.f) : 0.f; } - } + } } // Re-calculate the command checksum after making changes. input->VerifyUserCmd(cmd, sequence); diff --git a/src/Hooks/FrameStageNotify.cpp b/src/Hooks/FrameStageNotify.cpp index 146d5b5..f570529 100644 --- a/src/Hooks/FrameStageNotify.cpp +++ b/src/Hooks/FrameStageNotify.cpp @@ -4,10 +4,10 @@ typedef void (*FrameStageNotify_t) (IBaseClientDLL*, ClientFrameStage_t); -bool GUI::NoSky::Enabled = true; +bool GUI::NoSky::Enabled = false; float GUI::NoSky::Color[3] = {0, 0, 0.275}; -bool GUI::ASUS::Enabled = true; +bool GUI::ASUS::Enabled = false; float GUI::ASUS::Color[4] = {1, 1, 1, 0.75}; std::unordered_map material_colors;