mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 17:22:12 +00:00
Fixed titlemap wipe lasting too long/happening twice over
This commit is contained in:
parent
217f7ebd38
commit
eea7dc4224
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();
|
||||
|
|
|
@ -1429,6 +1429,7 @@ void F_StartTitleScreen(void)
|
|||
|
||||
if (titlemap)
|
||||
{
|
||||
gamestate_t prevwipegamestate = wipegamestate;
|
||||
titlemapinaction = true;
|
||||
gamemap = titlemap;
|
||||
|
||||
|
@ -1439,6 +1440,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