]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Removed an unused cvar (logfile)
authormolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 6 Apr 2004 13:08:07 +0000 (13:08 +0000)
committermolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 6 Apr 2004 13:08:07 +0000 (13:08 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4087 d7cf8633-e32d-0410-b094-e92efae38249

console.c

index 963ba2d7563510d2c05cd36b85c8447669eed89c..e27c3d728177f6fb7ebefb107c5a5542985b7e28 100644 (file)
--- a/console.c
+++ b/console.c
@@ -43,7 +43,6 @@ char *con_text = 0;
 //seconds
 cvar_t con_notifytime = {CVAR_SAVE, "con_notifytime","3"};
 cvar_t con_notify = {CVAR_SAVE, "con_notify","4"};
-cvar_t logfile = {0, "logfile","0"};
 
 #define MAX_NOTIFYLINES 32
 // cl.time time the line was generated for transparent notify lines
@@ -203,7 +202,6 @@ void Con_InitLogging (void)
                        sprintf (temp, "%s%s", fs_gamedir, t2);
                        unlink (temp);
                }
-               logfile.integer = 1;
        }
 }
 
@@ -214,8 +212,6 @@ Con_Init
 */
 void Con_Init (void)
 {
-       Cvar_RegisterVariable(&logfile);
-
        console_mempool = Mem_AllocPool("console");
        con_text = Mem_Alloc(console_mempool, CON_TEXTSIZE);
        memset (con_text, ' ', CON_TEXTSIZE);