From b7bac66484eb6b60df0b7b0511d5928cbdf158f1 Mon Sep 17 00:00:00 2001 From: Wizzard <25581244+Wizzard@users.noreply.toomuchslop.com> Date: Tue, 19 Sep 2023 18:19:04 -0400 Subject: [PATCH] Disable tracers by default on CS1.6 --- src/cvars.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/cvars.c b/src/cvars.c index 7a7ae1a..c3fff59 100644 --- a/src/cvars.c +++ b/src/cvars.c @@ -2,6 +2,7 @@ #include "include/cvars.h" #include "include/sdk.h" #include "include/globals.h" +#include "include/game_detection.h" DECL_CVAR(bhop); DECL_CVAR(autostrafe); @@ -23,10 +24,13 @@ bool cvars_init(void) { REGISTER_CVAR(esp, 3); REGISTER_CVAR(chams, 1); REGISTER_CVAR(crosshair, 0); - REGISTER_CVAR(tracers, 1); REGISTER_CVAR(clmove, 0); REGISTER_CVAR(watermark, 1); REGISTER_CVAR(watermark_rainbow, 1); - + if (IsCS16()) { + REGISTER_CVAR(tracers, 0); + } else { + REGISTER_CVAR(tracers, 1); + } return true; }