Log_Logfile_f is only available when HAVE_LEGACY is set

This commit is contained in:
Marco Cawthorne 2024-08-26 16:14:25 -07:00
parent 7d70e3c612
commit 29f442a325
Signed by: eukara
GPG key ID: CE2032F0A2882A22

View file

@ -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);