mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-11 14:42:05 +08:00
engine: host: allow console if DEFAULT_DEV is set to larger than 0 value
This commit is contained in:
@@ -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" ))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user