Browse Source

engine: add -nobackgroundlevel command-line argument

pull/209/head
nillerusr 2 years ago
parent
commit
6a8da7084b
  1. 3
      engine/cl_main.cpp

3
engine/cl_main.cpp

@ -2367,7 +2367,8 @@ bool CL_ShouldLoadBackgroundLevel( const CCommand &args ) @@ -2367,7 +2367,8 @@ bool CL_ShouldLoadBackgroundLevel( const CCommand &args )
// don't load the map in developer or console mode
if ( developer.GetInt() ||
CommandLine()->CheckParm("-console") ||
CommandLine()->CheckParm("-dev") )
CommandLine()->CheckParm("-dev") ||
CommandLine()->CheckParm("-nobackgroundlevel") )
return false;
// don't load the map if we're going straight into a level

Loading…
Cancel
Save