From 7239d610a80d1035e1cdeb3677c55ff08980732b Mon Sep 17 00:00:00 2001 From: Wizzard <25581244+Wizzard@users.noreply.toomuchslop.com> Date: Wed, 20 Sep 2023 10:33:34 -0400 Subject: [PATCH] Renamed 'dz_silent_aim' to 'dz_aimbot_silent_aim' 2 --- src/cvars.c | 4 ++-- src/features/aim.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cvars.c b/src/cvars.c index fba770a..c1e9015 100644 --- a/src/cvars.c +++ b/src/cvars.c @@ -15,7 +15,7 @@ DECL_CVAR(tracers); DECL_CVAR(clmove); DECL_CVAR(watermark); DECL_CVAR(watermark_rainbow); -DECL_CVAR(silent_aim); +DECL_CVAR(aimbot_silent_aim); bool cvars_init(void) { REGISTER_CVAR(bhop, 1); @@ -28,7 +28,7 @@ bool cvars_init(void) { REGISTER_CVAR(clmove, 0); REGISTER_CVAR(watermark, 1); REGISTER_CVAR(watermark_rainbow, 1); - REGISTER_CVAR(silent_aim, 1); + REGISTER_CVAR(aimbot_silent_aim, 1); if (IsCS16()) { REGISTER_CVAR(tracers, 0); } else { diff --git a/src/features/aim.c b/src/features/aim.c index dd47b20..3b64569 100644 --- a/src/features/aim.c +++ b/src/features/aim.c @@ -98,7 +98,7 @@ void aimbot(usercmd_t* cmd) { cmd->buttons &= ~IN_ATTACK; } - if (CVAR_ON(silent_aim)) { + if (CVAR_ON(aimbot_silent_aim)) { vec_copy(cmd->viewangles, engine_viewangles); } else { i_engine->SetViewAngles(engine_viewangles);