From fdc2140da5dc11b2970915454a4202968bed4381 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Fri, 3 Nov 2023 19:36:15 +1000 Subject: [PATCH] Save cvars cl_rollangle and cl_rollspeed to config.cfg Closes https://gitlab.com/xonotic/darkplaces/-/issues/393 Signed-off-by: bones_was_here --- view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view.c b/view.c index e9c0352a..53567b95 100644 --- a/view.c +++ b/view.c @@ -32,8 +32,8 @@ when crossing a water boudnary. */ -cvar_t cl_rollspeed = {CF_CLIENT, "cl_rollspeed", "200", "how much strafing is necessary to tilt the view"}; -cvar_t cl_rollangle = {CF_CLIENT, "cl_rollangle", "2.0", "how much to tilt the view when strafing"}; +cvar_t cl_rollspeed = {CF_CLIENT | CF_ARCHIVE, "cl_rollspeed", "200", "how much strafing is necessary to tilt the view"}; +cvar_t cl_rollangle = {CF_CLIENT | CF_ARCHIVE, "cl_rollangle", "2.0", "how much to tilt the view when strafing"}; cvar_t cl_bob = {CF_CLIENT | CF_ARCHIVE, "cl_bob","0.02", "view bobbing amount"}; cvar_t cl_bobcycle = {CF_CLIENT | CF_ARCHIVE, "cl_bobcycle","0.6", "view bobbing speed"}; -- 2.39.2