clang
This commit is contained in:
parent
706d086f1d
commit
f984ea5ee2
2
include/hacks/Announcer.hpp
Executable file → Normal file
2
include/hacks/Announcer.hpp
Executable file → Normal file
@ -16,7 +16,7 @@ namespace shared
|
||||
namespace announcer
|
||||
{
|
||||
|
||||
void playsound(const std::string&);
|
||||
void playsound(const std::string &);
|
||||
void init();
|
||||
void shutdown();
|
||||
}
|
||||
|
@ -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
|
||||
|
4
src/menu/GUI.cpp
Executable file → Normal file
4
src/menu/GUI.cpp
Executable file → Normal file
@ -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()
|
||||
{
|
||||
|
2
src/menu/ncc/ItemVariable.cpp
Executable file → Normal file
2
src/menu/ncc/ItemVariable.cpp
Executable file → Normal file
@ -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;
|
||||
|
Reference in New Issue
Block a user