diff --git a/include/hacks/Announcer.hpp b/include/hacks/Announcer.hpp old mode 100755 new mode 100644 index 70d50e1d..670c5c79 --- a/include/hacks/Announcer.hpp +++ b/include/hacks/Announcer.hpp @@ -16,7 +16,7 @@ namespace shared namespace announcer { -void playsound(const std::string&); +void playsound(const std::string &); void init(); void shutdown(); } diff --git a/src/hacks/Misc.cpp b/src/hacks/Misc.cpp index ae5fe55e..a9a73d24 100644 --- a/src/hacks/Misc.cpp +++ b/src/hacks/Misc.cpp @@ -283,7 +283,7 @@ void CreateMove() static bool flswitch = false; if (flswitch && !g_pUserCmd->impulse) g_pUserCmd->impulse = 100; - flswitch = !flswitch; + flswitch = !flswitch; } } @@ -320,7 +320,7 @@ void CreateMove() if (!(hacks::shared::antiaim::enabled && hacks::shared::antiaim::yaw_mode && !(side || forward))) - g_pUserCmd->viewangles.y = camera_angle[1]; + g_pUserCmd->viewangles.y = camera_angle[1]; g_pLocalPlayer->v_OrigViewangles.y = camera_angle[1]; // Use silent since we dont want to prevent the player from diff --git a/src/menu/GUI.cpp b/src/menu/GUI.cpp old mode 100755 new mode 100644 index e02d5d97..0754c629 --- a/src/menu/GUI.cpp +++ b/src/menu/GUI.cpp @@ -38,9 +38,9 @@ CatVar gui_visible(CV_SWITCH, "gui_visible", "0", "GUI Active", CatVar gui_draw_bounds(CV_SWITCH, "gui_bounds", "0", "Draw Bounds", "Draw GUI elements' bounding boxes"); CatCommand debug_invalid("debug_invalid", "Display all invalid CatVars", - []() { menu::ncc::List::ShowInvalidCatVars(); }); + []() { menu::ncc::List::ShowInvalidCatVars(); }); CatCommand debug_missing("debug_missing", "Display all missing CatVars", - []() { menu::ncc::List::ShowMissingCatVars(); }); + []() { menu::ncc::List::ShowMissingCatVars(); }); CatGUI::CatGUI() { diff --git a/src/menu/ncc/ItemVariable.cpp b/src/menu/ncc/ItemVariable.cpp old mode 100755 new mode 100644 index 1d092554..4d6a5093 --- a/src/menu/ncc/ItemVariable.cpp +++ b/src/menu/ncc/ItemVariable.cpp @@ -109,7 +109,7 @@ void ItemVariable::OnKeyPress(ButtonCode_t key, bool repeat) if (capturing) { if (key == ButtonCode_t::KEY_ESCAPE) - key = (ButtonCode_t) 0; + key = (ButtonCode_t) 0; catvar = (int) key; capturing = false; return;