mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 10:52:23 +00:00
F_StartTitleScreen: Make sure the level header for gamemap always exists
This commit is contained in:
parent
3c81938496
commit
846cf71e6a
1 changed files with 2 additions and 0 deletions
|
@ -2503,6 +2503,8 @@ void F_StartTitleScreen(void)
|
|||
{
|
||||
titlemapinaction = TITLEMAP_OFF;
|
||||
gamemap = 1; // g_game.c
|
||||
if (!mapheaderinfo[gamemap-1])
|
||||
P_AllocMapHeader(gamemap-1);
|
||||
CON_ClearHUD();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue