mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
umapinfo: fix levelpic for fullscreen patches (#1841)
This commit is contained in:
parent
5c4ef64c66
commit
0880d6f52c
@ -514,10 +514,10 @@ static void WI_drawEL(void)
|
||||
{
|
||||
patch_t* lpic = V_CachePatchName(wbs->nextmapinfo->levelpic, PU_CACHE);
|
||||
|
||||
y += (5 * SHORT(lpic->height)) / 4;
|
||||
if (SHORT(lnames[wbs->next]->height) < SCREENHEIGHT)
|
||||
y += (5 * SHORT(lpic->height)) / 4;
|
||||
|
||||
V_DrawPatch((SCREENWIDTH - SHORT(lpic->width))/2,
|
||||
y, lpic);
|
||||
V_DrawPatch((SCREENWIDTH - SHORT(lpic->width))/2, y, lpic);
|
||||
}
|
||||
// [FG] prevent crashes for levels without name graphics
|
||||
else if (wbs->next >= 0 && wbs->next < num_lnames && lnames[wbs->next] != NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user