umapinfo: proper fix levelpic for fullscreen patches (#1918)

* Revert "umapinfo: fix levelpic for fullscreen patches (#1841)"

This reverts commit 0880d6f52c14c013188cfbe0ffda55d6af2c6093.

* proper fix for fullscreen patches
This commit is contained in:
Roman Fomin 2024-09-22 16:26:00 +07:00 committed by GitHub
parent 5c952ca4a6
commit 5426138de7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -798,7 +798,7 @@ static void WI_drawEL(void)
{
patch_t* lpic = V_CachePatchName(wbs->nextmapinfo->levelpic, PU_CACHE);
if (SHORT(lnames[wbs->next]->height) < SCREENHEIGHT)
if (SHORT(lpic->height) < SCREENHEIGHT)
y += (5 * SHORT(lpic->height)) / 4;
V_DrawPatch((SCREENWIDTH - SHORT(lpic->width))/2, y, lpic);