mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-13 07:31:04 +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;
|
bool endgame = strncmp(nextlevel, "enDSeQ", 6) == 0;
|
||||||
intermissionScreen = primaryLevel->CreateIntermission();
|
intermissionScreen = primaryLevel->CreateIntermission();
|
||||||
auto nextinfo = endgame? nullptr : FindLevelInfo(nextlevel, false);
|
auto nextinfo = !playinter || endgame? nullptr : FindLevelInfo(nextlevel, false);
|
||||||
RunIntermission(primaryLevel->info, nextinfo, intermissionScreen, statusScreen, [=](bool)
|
RunIntermission(playinter? primaryLevel->info : nullptr, nextinfo, intermissionScreen, statusScreen, [=](bool)
|
||||||
{
|
{
|
||||||
if (!endgame) primaryLevel->WorldDone();
|
if (!endgame) primaryLevel->WorldDone();
|
||||||
else D_StartTitle();
|
else D_StartTitle();
|
||||||
|
|
Loading…
Reference in a new issue