engine: host: allow console if DEFAULT_DEV is set to larger than 0 value

This commit is contained in:
Alibek Omarov
2025-06-15 13:01:13 +05:00
parent 72b8182af0
commit 3e396bb55a
+1 -1
View File
@@ -1054,7 +1054,7 @@ static void Host_InitCommon( int argc, char **argv, const char *progname, qboole
host.mempool = Mem_AllocPool( "Zone Engine" );
host.allow_console = DEFAULT_ALLOWCONSOLE;
host.allow_console = DEFAULT_ALLOWCONSOLE || DEFAULT_DEV > 0;
if( Sys_CheckParm( "-dev" ))
{