From 5386366ec48dd0a4491eb22a9b99213b8dbdebd7 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 27 Oct 2019 13:48:03 +0100 Subject: [PATCH] - fix for last commit. --- source/common/gamecvars.cpp | 2 +- source/common/gamecvars.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/common/gamecvars.cpp b/source/common/gamecvars.cpp index 80214c00b..89aa19de9 100644 --- a/source/common/gamecvars.cpp +++ b/source/common/gamecvars.cpp @@ -75,7 +75,7 @@ CVARD(Bool, cl_viewvbob, true, CVAR_ARCHIVE|CVAR_FRONTEND_BLOOD, "enable/disable CVARD(Bool, cl_interpolate, true, CVAR_ARCHIVE, "enable/disable view interpolation") // only implemented in Blood CVARD(Bool, cl_slopetilting, false, CVAR_ARCHIVE, "enable/disable slope tilting") // only implemented in Blood -CVARD(Bool, cl_showweapon, true, CVAR_ARCHIVE, "enable/disable show weapons") // only implemented in Blood +CVARD(Int, cl_showweapon, 1, CVAR_ARCHIVE, "enable/disable show weapons") // only implemented in Blood CUSTOM_CVARD(Int, cl_crosshairscale, 50, CVAR_ARCHIVE, "changes the size of the crosshair") { if (self < 1) self = 1; diff --git a/source/common/gamecvars.h b/source/common/gamecvars.h index a3deb4d8c..de061c7e1 100644 --- a/source/common/gamecvars.h +++ b/source/common/gamecvars.h @@ -21,7 +21,7 @@ EXTERN_CVAR(Bool, cl_viewhbob) EXTERN_CVAR(Bool, cl_viewvbob) EXTERN_CVAR(Bool, cl_interpolate) EXTERN_CVAR(Bool, cl_slopetilting) -EXTERN_CVAR(Bool, cl_showweapon) +EXTERN_CVAR(Int, cl_showweapon) EXTERN_CVAR(Int, cl_weaponswitch) EXTERN_CVAR(Int, cl_crosshairscale)