- Fixed: Intermissions with no screens (such as EndTitle) would result in a double wipe.

This commit is contained in:
Braden Obrzut 2016-01-23 23:34:07 -05:00
parent fc15be8689
commit fd4440cfe4

View file

@ -722,7 +722,10 @@ DIntermissionController::DIntermissionController(FIntermissionDescriptor *Desc,
mScreen = NULL;
mFirst = true;
mGameState = state;
NextPage();
// If the intermission finishes straight away then cancel the wipe.
if(!NextPage())
wipegamestate = GS_FINALE;
}
bool DIntermissionController::NextPage ()