From 3e396bb55ae89a36185782565bdf8ba73195f8b6 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 15 Jun 2025 11:07:33 +0500 Subject: [PATCH] engine: host: allow console if DEFAULT_DEV is set to larger than 0 value --- engine/common/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/host.c b/engine/common/host.c index ca40dc30..03bb9d1c 100644 --- a/engine/common/host.c +++ b/engine/common/host.c @@ -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" )) {