mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
Fixed titlemap wipe lasting too long/happening twice over
This commit is contained in:
parent
ded781ddfa
commit
5b595c0ecc
2 changed files with 4 additions and 1 deletions
|
@ -302,7 +302,7 @@ static void D_Display(void)
|
|||
if (rendermode != render_none)
|
||||
{
|
||||
// Fade to black first
|
||||
if (gamestate != GS_LEVEL // fades to black on its own timing, always
|
||||
if (!(gamestate == GS_LEVEL || (gamestate == GS_TITLESCREEN && titlemapinaction)) // fades to black on its own timing, always
|
||||
&& wipedefs[wipedefindex] != UINT8_MAX)
|
||||
{
|
||||
F_WipeStartScreen();
|
||||
|
|
|
@ -1427,6 +1427,7 @@ void F_StartTitleScreen(void)
|
|||
|
||||
if (titlemap)
|
||||
{
|
||||
gamestate_t prevwipegamestate = wipegamestate;
|
||||
titlemapinaction = true;
|
||||
gamemap = titlemap;
|
||||
|
||||
|
@ -1437,6 +1438,8 @@ void F_StartTitleScreen(void)
|
|||
players[displayplayer].playerstate = PST_DEAD; // Don't spawn the player in dummy (I'm still a filthy cheater)
|
||||
camera.subsector = NULL; // toast is filthy too
|
||||
//CON_ClearHUD();
|
||||
|
||||
wipegamestate = prevwipegamestate;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue