|
|
@ -894,12 +894,11 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha |
|
|
|
|
|
|
|
|
|
|
|
host.mempool = Mem_AllocPool( "Zone Engine" ); |
|
|
|
host.mempool = Mem_AllocPool( "Zone Engine" ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
host.allow_console = DEFAULT_ALLOWCONSOLE; |
|
|
|
|
|
|
|
|
|
|
|
// HACKHACK: Quake console is always allowed
|
|
|
|
// HACKHACK: Quake console is always allowed
|
|
|
|
// HACKHACK: console is also always allowed on the Switch since we can't really pass command line
|
|
|
|
|
|
|
|
// TODO: determine if we are running QWrap more reliable
|
|
|
|
// TODO: determine if we are running QWrap more reliable
|
|
|
|
#if !XASH_NSWITCH |
|
|
|
if( !host.allow_console && ( Sys_CheckParm( "-console" ) || !Q_stricmp( SI.exeName, "quake" ))) |
|
|
|
if( Sys_CheckParm( "-console" ) || !Q_stricmp( SI.exeName, "quake" ) ) |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
host.allow_console = true; |
|
|
|
host.allow_console = true; |
|
|
|
|
|
|
|
|
|
|
|
if( Sys_CheckParm( "-dev" )) |
|
|
|
if( Sys_CheckParm( "-dev" )) |
|
|
|