From 0186e5bce5d94665867ebb02b354063f9b3653cb Mon Sep 17 00:00:00 2001 From: Lactozilla Date: Mon, 20 May 2024 02:54:45 -0300 Subject: [PATCH] Fix a mistake --- src/m_menu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/m_menu.c b/src/m_menu.c index 36b81b947..dd9d2fdbd 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -4015,11 +4015,11 @@ static void M_DrawThermo(INT32 x, INT32 y, consvar_t *cv) lumpnum_t leftlump, rightlump, centerlump[2], cursorlump; patch_t *p; - leftlump = W_CheckNumForPatchName("M_THERML"); - rightlump = W_CheckNumForPatchName("M_THERMR"); - centerlump[0] = W_CheckNumForPatchName("M_THERMM"); - centerlump[1] = W_CheckNumForPatchName("M_THERMM"); - cursorlump = W_CheckNumForPatchName("M_THERMO"); + leftlump = W_GetNumForPatchName("M_THERML"); + rightlump = W_GetNumForPatchName("M_THERMR"); + centerlump[0] = W_GetNumForPatchName("M_THERMM"); + centerlump[1] = W_GetNumForPatchName("M_THERMM"); + cursorlump = W_GetNumForPatchName("M_THERMO"); V_DrawScaledPatch(xx, y, 0, p = W_CachePatchNum(leftlump,PU_PATCH)); xx += p->width - p->leftoffset;