diff --git a/src/wi_stuff.c b/src/wi_stuff.c index 165328e9..8a4559e1 100644 --- a/src/wi_stuff.c +++ b/src/wi_stuff.c @@ -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);