Skip to content

Commit

Permalink
Fixed jDoom: Missing skull cursor in the ReadThis screens.
Browse files Browse the repository at this point in the history
  • Loading branch information
danij committed Nov 15, 2008
1 parent 8624af8 commit 3ca79c5
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions doomsday/plugins/common/src/hu_menu.c
Expand Up @@ -165,6 +165,7 @@ void M_WeaponRecoil(int option, void* data);

void M_DrawMainMenu(void);
void M_DrawNewGameMenu(void);
void M_DrawReadThis(void);
void M_DrawSkillMenu(void);
void M_DrawClassMenu(void); // Does something only in jHEXEN
void M_DrawEpisode(void); // Does nothing in jHEXEN
Expand Down Expand Up @@ -895,7 +896,7 @@ menuitem_t ReadItems1[] = {
menu_t ReadDef1 = {
MNF_NOSCALE,
280, 185,
NULL,
M_DrawReadThis,
1, ReadItems1,
0, MENU_MAIN,
huFontB,
Expand All @@ -921,7 +922,7 @@ menuitem_t ReadItems2[] = {
menu_t ReadDef2 = {
MNF_NOSCALE,
330, 175,
NULL,
M_DrawReadThis,
1, ReadItems2,
0, MENU_MAIN,
huFontB,
Expand All @@ -944,7 +945,7 @@ menuitem_t ReadItems3[] = {
menu_t ReadDef3 = {
MNF_NOSCALE,
330, 175,
NULL,
M_DrawReadThis,
1, ReadItems3,
0, MENU_MAIN,
huFontB,
Expand Down Expand Up @@ -2745,6 +2746,14 @@ void M_DrawNewGameMenu(void)
M_DrawTitle("Choose Game Type", menu->y - 30);
}

void M_DrawReadThis(void)
{
#if __JDOOM__
// The background is handled elsewhere, just draw the cursor.
GL_DrawPatch(298, 160, cursorst[whichSkull].lump);
#endif
}

#if __JHEXEN__
void M_DrawClassMenu(void)
{
Expand Down

0 comments on commit 3ca79c5

Please sign in to comment.