- Skip the load screen if the level is started from the console.

In this case the load screen is not helpful as it blocks the actual level start, requiring closing and reopening the console first before entering any commands that need the level.
This commit is contained in:
Christoph Oelckers 2021-05-12 00:36:04 +02:00
parent 9dd9dc8efd
commit fd6dd7f467

View file

@ -488,6 +488,10 @@ void ShowIntermission(MapRecord* fromMap, MapRecord* toMap, SummaryInfo* info, C
if (tocluster == nullptr || !tocluster->intro.Create(runner, toMap, !!fromMap)) if (tocluster == nullptr || !tocluster->intro.Create(runner, toMap, !!fromMap))
globalCutscenes.DefaultMapIntro.Create(runner, toMap, !!fromMap); globalCutscenes.DefaultMapIntro.Create(runner, toMap, !!fromMap);
} }
// Skip the load screen if the level is started from the console.
// In this case the load screen is not helpful as it blocks the actual level start,
// requiring closing and reopening the console first before entering any commands that need the level.
if (ConsoleState == c_up || ConsoleState == c_rising)
globalCutscenes.LoadingScreen.Create(runner, toMap, true); globalCutscenes.LoadingScreen.Create(runner, toMap, true);
} }
else if (isShareware()) else if (isShareware())