From 5858a2e4ecafb30e7d18a93192a4481853c9a315 Mon Sep 17 00:00:00 2001 From: 8dcc <8dcc.git@gmail.com> Date: Mon, 24 Jul 2023 17:03:06 +0200 Subject: [PATCH] Add cv_chams cvar --- src/cvars.c | 2 ++ src/include/cvars.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/cvars.c b/src/cvars.c index fe464d0..9f942a1 100644 --- a/src/cvars.c +++ b/src/cvars.c @@ -6,11 +6,13 @@ DECL_CVAR(bhop); DECL_CVAR(autostrafe); DECL_CVAR(esp); +DECL_CVAR(chams); bool cvars_init(void) { cv_bhop = REGISTER_CVAR("bhop", "1"); cv_autostrafe = REGISTER_CVAR("autostrafe", "0"); cv_esp = REGISTER_CVAR("esp", "1"); + cv_chams = REGISTER_CVAR("chams", "1"); return true; } diff --git a/src/include/cvars.h b/src/include/cvars.h index 0bc2ac1..f9c1855 100644 --- a/src/include/cvars.h +++ b/src/include/cvars.h @@ -32,6 +32,7 @@ DECL_CVAR_EXTERN(bhop); DECL_CVAR_EXTERN(autostrafe); DECL_CVAR_EXTERN(esp); +DECL_CVAR_EXTERN(chams); /*----------------------------------------------------------------------------*/