F_EndCutScene now sets cutsceneover to true BEFORE running Y_EndGame and the like, not AFTER

This commit is contained in:
Monster Iestyn 2016-08-25 17:58:54 +01:00
parent fd5297ee6c
commit ab3f677e66
1 changed files with 1 additions and 1 deletions

View File

@ -1725,6 +1725,7 @@ static void F_AdvanceToNextScene(void)
void F_EndCutScene(void)
{
cutsceneover = true; // do this first, just in case Y_EndGame or something wants to turn it back false later
if (runningprecutscene)
{
if (server)
@ -1741,7 +1742,6 @@ void F_EndCutScene(void)
else
Y_EndGame();
}
cutsceneover = true;
}
void F_StartCustomCutscene(INT32 cutscenenum, boolean precutscene, boolean resetplayer)