From 85482b09519b5cdb7656160869292f309af4251d Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Wed, 5 Apr 2023 17:59:04 +1000 Subject: [PATCH] - Fix CVAR comments from previous commit. --- source/core/screenjob.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/core/screenjob.cpp b/source/core/screenjob.cpp index 37cdb4c3a..0eb6b3aa0 100644 --- a/source/core/screenjob.cpp +++ b/source/core/screenjob.cpp @@ -61,8 +61,8 @@ static SummaryInfo summaryinfo; // //============================================================================= -CVARD(Bool, cl_nostartscreens, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "enable/disable skipping level exit screens") -CVARD(Bool, cl_noexitscreens, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "enable/disable skipping level entry screens") +CVARD(Bool, cl_nostartscreens, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "enable/disable skipping level entry screens") +CVARD(Bool, cl_noexitscreens, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "enable/disable skipping level exit screens") //============================================================================= // @@ -235,9 +235,9 @@ void ShowIntermission(MapRecord* fromMap, MapRecord* toMap, SummaryInfo* info, C if ((!cl_noexitscreens && fromMap) || (!cl_nostartscreens && (g_gameType & GAMEFLAG_PSEXHUMED))) CallCreateSummaryFunction(globalCutscenes.SummaryScreen, runner, fromMap, info, toMap); - if (!cl_nostartscreens && toMap) + if (toMap) { - if (!CreateCutscene(&toMap->intro, runner, toMap, !!fromMap)) + if (!cl_nostartscreens && !CreateCutscene(&toMap->intro, runner, toMap, !!fromMap)) { if (tocluster == nullptr || !CreateCutscene(&tocluster->intro, runner, toMap, !!fromMap)) CreateCutscene(&globalCutscenes.DefaultMapIntro, runner, toMap, !!fromMap);