From: bones_was_here Date: Fri, 3 Nov 2023 09:36:15 +0000 (+1000) Subject: Save cvars cl_rollangle and cl_rollspeed to config.cfg X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fdc2140da5dc11b2970915454a4202968bed4381;p=xonotic%2Fdarkplaces.git Save cvars cl_rollangle and cl_rollspeed to config.cfg Closes https://gitlab.com/xonotic/darkplaces/-/issues/393 Signed-off-by: bones_was_here --- 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"};