mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-02 13:51:52 +00:00
- use the same rules for cutscenes as for old intermissions when travelling in a hub
This commit is contained in:
parent
608b387e04
commit
df74288f7b
1 changed files with 2 additions and 2 deletions
|
@ -1094,8 +1094,8 @@ void G_DoCompleted (void)
|
|||
}
|
||||
bool endgame = strncmp(nextlevel, "enDSeQ", 6) == 0;
|
||||
intermissionScreen = primaryLevel->CreateIntermission();
|
||||
auto nextinfo = endgame? nullptr : FindLevelInfo(nextlevel, false);
|
||||
RunIntermission(primaryLevel->info, nextinfo, intermissionScreen, statusScreen, [=](bool)
|
||||
auto nextinfo = !playinter || endgame? nullptr : FindLevelInfo(nextlevel, false);
|
||||
RunIntermission(playinter? primaryLevel->info : nullptr, nextinfo, intermissionScreen, statusScreen, [=](bool)
|
||||
{
|
||||
if (!endgame) primaryLevel->WorldDone();
|
||||
else D_StartTitle();
|
||||
|
|
Loading…
Reference in a new issue