From afc29d8179897ebb7e4e4f3cfddc000f76187018 Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Sun, 12 Nov 2023 16:15:37 +1100 Subject: [PATCH] Fix typo getting `levelpic`, `titlepatch` in `MAPINFO` lumps --- src/wi_stuff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wi_stuff.c b/src/wi_stuff.c index b77984f07c..eb8f5e26b2 100644 --- a/src/wi_stuff.c +++ b/src/wi_stuff.c @@ -368,7 +368,7 @@ static void WI_DrawLF(void) { const int x = (VANILLAWIDTH - SHORT(finished->width)) / 2; int y = WI_TITLEY; - const int titlepatch = P_GetMapTitlePatch(wbs->epsd, wbs->last + 1); + const int titlepatch = P_GetMapTitlePatch(wbs->epsd + 1, wbs->last + 1); // draw if (titlepatch > 0) @@ -426,7 +426,7 @@ static void WI_DrawEL(void) { const int x = (VANILLAWIDTH - SHORT(entering->width)) / 2; int y = WI_TITLEY; - const int titlepatch = P_GetMapTitlePatch(wbs->epsd, wbs->next + 1); + const int titlepatch = P_GetMapTitlePatch(wbs->epsd + 1, wbs->next + 1); // draw "Entering" if (SHORT(entering->height) < VANILLAHEIGHT)