Log_Logfile_f is only available when HAVE_LEGACY is set
This commit is contained in:
parent
7d70e3c612
commit
29f442a325
1 changed files with 2 additions and 1 deletions
|
@ -1024,8 +1024,9 @@ void Log_Init(void)
|
||||||
Cvar_Register (&log_enable[i], CONLOGGROUP);
|
Cvar_Register (&log_enable[i], CONLOGGROUP);
|
||||||
Cvar_Register (&log_name[i], CONLOGGROUP);
|
Cvar_Register (&log_name[i], CONLOGGROUP);
|
||||||
log_newline[i] = true;
|
log_newline[i] = true;
|
||||||
|
#ifdef HAVE_LEGACY
|
||||||
Cmd_AddCommand(legacylog[i].commandname, Log_Logfile_f);
|
Cmd_AddCommand(legacylog[i].commandname, Log_Logfile_f);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
Cvar_Register (&log_dir_var, CONLOGGROUP);
|
Cvar_Register (&log_dir_var, CONLOGGROUP);
|
||||||
Cvar_Register (&log_readable, CONLOGGROUP);
|
Cvar_Register (&log_readable, CONLOGGROUP);
|
||||||
|
|
Loading…
Reference in a new issue