Add cv_chams cvar

This commit is contained in:
8dcc 2023-07-24 17:03:06 +02:00
parent 4183a0c2f0
commit 5858a2e4ec
2 changed files with 3 additions and 0 deletions

View File

@ -6,11 +6,13 @@
DECL_CVAR(bhop); DECL_CVAR(bhop);
DECL_CVAR(autostrafe); DECL_CVAR(autostrafe);
DECL_CVAR(esp); DECL_CVAR(esp);
DECL_CVAR(chams);
bool cvars_init(void) { bool cvars_init(void) {
cv_bhop = REGISTER_CVAR("bhop", "1"); cv_bhop = REGISTER_CVAR("bhop", "1");
cv_autostrafe = REGISTER_CVAR("autostrafe", "0"); cv_autostrafe = REGISTER_CVAR("autostrafe", "0");
cv_esp = REGISTER_CVAR("esp", "1"); cv_esp = REGISTER_CVAR("esp", "1");
cv_chams = REGISTER_CVAR("chams", "1");
return true; return true;
} }

View File

@ -32,6 +32,7 @@
DECL_CVAR_EXTERN(bhop); DECL_CVAR_EXTERN(bhop);
DECL_CVAR_EXTERN(autostrafe); DECL_CVAR_EXTERN(autostrafe);
DECL_CVAR_EXTERN(esp); DECL_CVAR_EXTERN(esp);
DECL_CVAR_EXTERN(chams);
/*----------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------*/