Skip to content

Commit 6a8da70

Browse files
committed
engine: add -nobackgroundlevel command-line argument
1 parent 9075ccd commit 6a8da70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

engine/cl_main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2367,7 +2367,8 @@ bool CL_ShouldLoadBackgroundLevel( const CCommand &args )
23672367
// don't load the map in developer or console mode
23682368
if ( developer.GetInt() ||
23692369
CommandLine()->CheckParm("-console") ||
2370-
CommandLine()->CheckParm("-dev") )
2370+
CommandLine()->CheckParm("-dev") ||
2371+
CommandLine()->CheckParm("-nobackgroundlevel") )
23712372
return false;
23722373

23732374
// don't load the map if we're going straight into a level

0 commit comments

Comments
 (0)