From 6a8da7084b0de0cdfbbaeb449c9ef0205230ddb5 Mon Sep 17 00:00:00 2001 From: nillerusr Date: Mon, 20 Feb 2023 20:07:23 +0300 Subject: [PATCH] engine: add -nobackgroundlevel command-line argument --- engine/cl_main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/cl_main.cpp b/engine/cl_main.cpp index f6247226..52a5a581 100644 --- a/engine/cl_main.cpp +++ b/engine/cl_main.cpp @@ -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