- proper handling for running an end-of-game intermission.
This commit is contained in:
parent
ce59b47e93
commit
9b0b44d83b
5 changed files with 16 additions and 20 deletions
|
|
@ -911,14 +911,14 @@ DIntermissionController* F_StartFinale (const char *music, int musicorder, int c
|
|||
desc->mActions.Push(wiper);
|
||||
}
|
||||
|
||||
return F_StartIntermission(desc, true);
|
||||
return F_StartIntermission(desc, true, ending && endsequence != NAME_None);
|
||||
}
|
||||
else if (ending)
|
||||
{
|
||||
FIntermissionDescriptor **pdesc = IntermissionDescriptors.CheckKey(endsequence);
|
||||
if (pdesc != NULL)
|
||||
{
|
||||
return F_StartIntermission(*pdesc, false);
|
||||
return F_StartIntermission(*pdesc, false, ending);
|
||||
}
|
||||
}
|
||||
return nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue