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)