mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-21 12:01:05 +00:00
Fix a mistake
This commit is contained in:
parent
4502e67f0f
commit
0186e5bce5
1 changed files with 5 additions and 5 deletions
10
src/m_menu.c
10
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;
|
||||
|
|
Loading…
Reference in a new issue