git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4585
d7cf8633-e32d-0410-b094-
e92efae38249
*/
void Log_Init (void)
{
+ // Allocate a log queue
+ logq_size = 512;
+ logqueue = Mem_Alloc (tempmempool, logq_size);
+ logq_ind = 0;
+
Cvar_RegisterVariable (&log_file);
Cvar_RegisterVariable (&log_sync);
Cvar_SetValueQuick (&log_sync, 1);
unlink (va("%s/qconsole.log", fs_gamedir));
}
-
- // Allocate a log queue
- logq_size = 512;
- logqueue = Mem_Alloc (tempmempool, logq_size);
- logq_ind = 0;
}