shithub: qk1

Download patch

ref: b5c21ec18207ea25ca3461e12b78fe82a8e1ed34
parent: 1be34c4abbfb0e98b6b9d94d72b56df7205f760e
author: qwx <qwx@sciops.net>
date: Sun Aug 22 18:06:20 EDT 2021

M ./qw/screen.c
M ./screen.c
archive fov and scr_conspeed cvars as they should be

--- a/qw/screen.c
+++ b/qw/screen.c
@@ -63,8 +63,8 @@
 float		oldscreensize, oldfov;
 float		oldsbar;
 cvar_t		scr_viewsize = {"viewsize","100", true};
-cvar_t		scr_fov = {"fov","90"};	// 10 - 170
-cvar_t		scr_conspeed = {"scr_conspeed","300"};
+cvar_t		scr_fov = {"fov","90",true};	// 10 - 170
+cvar_t		scr_conspeed = {"scr_conspeed","300",true};
 cvar_t		scr_centertime = {"scr_centertime","2"};
 cvar_t		scr_showram = {"showram","1"};
 cvar_t		scr_showturtle = {"showturtle","0"};
--- a/screen.c
+++ b/screen.c
@@ -13,8 +13,8 @@
 
 float		oldscreensize, oldfov;
 cvar_t		scr_viewsize = {"viewsize","100", true};
-cvar_t		scr_fov = {"fov","90"};	// 10 - 170
-cvar_t		scr_conspeed = {"scr_conspeed","300"};
+cvar_t		scr_fov = {"fov","90",true};	// 10 - 170
+cvar_t		scr_conspeed = {"scr_conspeed","300",true};
 cvar_t		scr_centertime = {"scr_centertime","2"};
 cvar_t		scr_showram = {"showram","1"};
 cvar_t		scr_showturtle = {"showturtle","0"};