]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
cl_autodemo and cl_autodemo_nameformat are now saved cvars
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 16 Mar 2007 12:35:53 +0000 (12:35 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 16 Mar 2007 12:35:53 +0000 (12:35 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6992 d7cf8633-e32d-0410-b094-e92efae38249

cl_main.c

index f701acbed6a8d062cdf3f5d974ce6fcdf4802eb5..d219edbb37af29780e3430bb3597a2310f072611 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -51,8 +51,8 @@ cvar_t m_side = {CVAR_SAVE, "m_side","0.8","mouse side speed multiplier"};
 
 cvar_t freelook = {CVAR_SAVE, "freelook", "1","mouse controls pitch instead of forward/back"};
 
-cvar_t cl_autodemo = {0, "cl_autodemo", "0", "records every game played, using the date/time and map name to name the demo file" };
-cvar_t cl_autodemo_nameformat = {0, "cl_autodemo_nameformat", "%Y-%m-%d_%H-%M", "The format of the cl_autodemo filename, followed by the map name" };
+cvar_t cl_autodemo = {CVAR_SAVE, "cl_autodemo", "0", "records every game played, using the date/time and map name to name the demo file" };
+cvar_t cl_autodemo_nameformat = {CVAR_SAVE, "cl_autodemo_nameformat", "%Y-%m-%d_%H-%M", "The format of the cl_autodemo filename, followed by the map name" };
 
 cvar_t r_draweffects = {0, "r_draweffects", "1","renders temporary sprite effects"};