mirror of https://github.com/ZDoom/qzdoom.git
- Fixed: Intermissions with no screens (such as EndTitle) would result in a double wipe.
This commit is contained in:
parent
fc15be8689
commit
fd4440cfe4
|
@ -722,7 +722,10 @@ DIntermissionController::DIntermissionController(FIntermissionDescriptor *Desc,
|
||||||
mScreen = NULL;
|
mScreen = NULL;
|
||||||
mFirst = true;
|
mFirst = true;
|
||||||
mGameState = state;
|
mGameState = state;
|
||||||
NextPage();
|
|
||||||
|
// If the intermission finishes straight away then cancel the wipe.
|
||||||
|
if(!NextPage())
|
||||||
|
wipegamestate = GS_FINALE;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DIntermissionController::NextPage ()
|
bool DIntermissionController::NextPage ()
|
||||||
|
|
Loading…
Reference in New Issue