engine: add -nobackgroundlevel command-line argument
This commit is contained in:
parent
9075ccd9e4
commit
6a8da7084b
@ -2367,7 +2367,8 @@ bool CL_ShouldLoadBackgroundLevel( const CCommand &args )
|
|||||||
// don't load the map in developer or console mode
|
// don't load the map in developer or console mode
|
||||||
if ( developer.GetInt() ||
|
if ( developer.GetInt() ||
|
||||||
CommandLine()->CheckParm("-console") ||
|
CommandLine()->CheckParm("-console") ||
|
||||||
CommandLine()->CheckParm("-dev") )
|
CommandLine()->CheckParm("-dev") ||
|
||||||
|
CommandLine()->CheckParm("-nobackgroundlevel") )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// don't load the map if we're going straight into a level
|
// don't load the map if we're going straight into a level
|
||||||
|
Loading…
Reference in New Issue
Block a user