From 8465dd5fcf4470ddd2cae0a609d05a3eb9603a58 Mon Sep 17 00:00:00 2001 From: GenericHeroGuy Date: Fri, 21 Mar 2025 14:28:45 +0100 Subject: [PATCH] Fix compile and missing menus --- src/deh_tables.c | 2 ++ src/m_menu.c | 2 +- src/m_menu.h | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/deh_tables.c b/src/deh_tables.c index e7856ac91..cac87bce6 100644 --- a/src/deh_tables.c +++ b/src/deh_tables.c @@ -721,6 +721,8 @@ const char *const MENUTYPES_LIST[] = { "MISC_REPLAYSTART", "PLAYBACK", "OP_CONTROLSETUP", + "OP_GAMEHUD", + "OP_VISUAL", "SPECIAL" }; diff --git a/src/m_menu.c b/src/m_menu.c index b8b59dc5e..779912c72 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -2489,7 +2489,7 @@ void M_DrawPauseMenu(void) if ((leveltime % freq) >= freq/2) { V_DrawFixedPatch(204 * FRACUNIT, - (currentMenu->y + (M_GetItemY(MN_MPAUSE, "DISCRQ") - 1) * FRACUNIT, + (currentMenu->y + M_GetItemY(MN_MPAUSE, "DISCRQ") - 1) * FRACUNIT, FRACUNIT, 0, W_CachePatchName("K_REQUE2", PU_CACHE), diff --git a/src/m_menu.h b/src/m_menu.h index 3fb2b9769..0fcc97cd7 100644 --- a/src/m_menu.h +++ b/src/m_menu.h @@ -156,6 +156,8 @@ typedef enum MN_MISC_REPLAYSTART, MN_PLAYBACK, MN_OP_CONTROLSETUP, + MN_OP_GAMEHUD, + MN_OP_VISUAL, MN_SPECIAL,