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;