]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
disabled the broken cl_autodemo feature until Sajt fixes it
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 10 Jun 2006 12:19:57 +0000 (12:19 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 10 Jun 2006 12:19:57 +0000 (12:19 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6455 d7cf8633-e32d-0410-b094-e92efae38249

cl_main.c
host_cmd.c

index 215cea560ee31831d5acec27c85e4c219850e8f3..46cd234efdb0a8f6e74db6f09c6ae7e4a3b44a61 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -50,8 +50,10 @@ 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"};
 
+#ifdef AUTODEMO_BROKEN
 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" };
+#endif
 
 cvar_t r_draweffects = {0, "r_draweffects", "1","renders temporary sprite effects"};
 
@@ -1753,8 +1755,10 @@ void CL_Init (void)
        Cmd_AddCommand ("playdemo", CL_PlayDemo_f, "watch a demo file");
        Cmd_AddCommand ("timedemo", CL_TimeDemo_f, "play back a demo as fast as possible and save statistics to benchmark.log");
 
+#ifdef AUTODEMO_BROKEN
        Cvar_RegisterVariable (&cl_autodemo);
        Cvar_RegisterVariable (&cl_autodemo_nameformat);
+#endif
 
        Cmd_AddCommand ("fog", CL_Fog_f, "set global fog parameters (density red green blue)");
 
index 51528b199c1e457f5eea9e890d5232e1c7a58f54..24acdd6a6c8ae310eb5738b4cb1edd5d4481bfb5 100644 (file)
@@ -285,6 +285,7 @@ void Host_Map_f (void)
        if (sv.active && cls.state == ca_disconnected)
                CL_EstablishConnection("local:1");
 
+#ifdef AUTODEMO_BROKEN
 // if cl_autodemo is set, automatically start recording a demo if one isn't being recorded already
        if (cl_autodemo.integer && !cls.demorecording)
        {
@@ -305,6 +306,7 @@ void Host_Map_f (void)
 
                cls.demorecording = true;
        }
+#endif
 }
 
 /*