Skip to content

Commit

Permalink
Further tweaks to TITLEPIC as background for help screen
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Sep 19, 2024
1 parent 5a83434 commit 6d0fbd5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/d_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ int titlesequence = 0;
int pagetic = 3 * TICRATE;
int logotic = 3 * TICRATE;

patch_t *pagelump;
static patch_t *pagelump;
patch_t *creditlump;
patch_t *titlelump;

Expand Down
1 change: 0 additions & 1 deletion src/d_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@

#define PAGETICS (20 * TICRATE)

extern patch_t *pagelump;
extern patch_t *titlelump;
extern patch_t *creditlump;
extern char **episodes[];
Expand Down
7 changes: 2 additions & 5 deletions src/m_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,11 +610,8 @@ static void M_DrawHelpBackground(void)
return;
}

if (gamestate == GS_TITLESCREEN && pagelump != titlelump)
{
pagelump = titlelump;
pagetic = PAGETICS;
}
if (gamestate != GS_LEVEL)
V_DrawPagePatch(0, titlelump);

M_BigSeed(411);

Expand Down

0 comments on commit 6d0fbd5

Please sign in to comment.