Disabled Asus walls and Nosky from being enabled on startup

This commit is contained in:
Wizzard 2023-12-08 19:46:26 -05:00
parent 8c0a95c495
commit 6f26ee5126
2 changed files with 3 additions and 3 deletions

View File

@ -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->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; cmd->sidemove = (cmd->sidemove != 0.f) ? ((cmd->sidemove > 0.f) ? 450.f : -450.f) : 0.f;
} }
} }
} }
// Re-calculate the command checksum after making changes. // Re-calculate the command checksum after making changes.
input->VerifyUserCmd(cmd, sequence); input->VerifyUserCmd(cmd, sequence);

View File

@ -4,10 +4,10 @@
typedef void (*FrameStageNotify_t) (IBaseClientDLL*, ClientFrameStage_t); 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}; 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}; float GUI::ASUS::Color[4] = {1, 1, 1, 0.75};
std::unordered_map<MaterialHandle_t, ImColor> material_colors; std::unordered_map<MaterialHandle_t, ImColor> material_colors;