engine: enable writing log even if console hasn't been enabled at the engine startup (it might be enabled later, it might also contain crash data)

This commit is contained in:
Alibek Omarov 2025-02-06 20:03:07 +03:00
parent 1d81e611f0
commit d4c34abd6e

View file

@ -80,7 +80,7 @@ void Sys_InitLog( void )
{
const char *mode;
if( Sys_CheckParm( "-log" ) && host.allow_console != 0 )
if( Sys_CheckParm( "-log" ))
{
s_ld.log_active = true;
Q_strncpy( s_ld.log_path, "engine.log", sizeof( s_ld.log_path ));