From accb88869d7478272bbd434f3e01075939ec6fc7 Mon Sep 17 00:00:00 2001 From: toaster Date: Sat, 17 Sep 2022 00:43:26 +0100 Subject: [PATCH] Don't strip previous thumbnail/minimap information on header replace, since the lumpnum will remain the same otherwise --- src/p_setup.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/p_setup.c b/src/p_setup.c index 5aa38aa99..a0c97d9e8 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -363,12 +363,6 @@ static void P_ClearSingleMapHeaderInfo(INT16 i) { const INT16 num = (INT16)(i-1); - Patch_Free(mapheaderinfo[num]->thumbnailPic); - mapheaderinfo[num]->thumbnailPic = NULL; - - Patch_Free(mapheaderinfo[num]->minimapPic); - mapheaderinfo[num]->minimapPic = NULL; - Z_Free(mapheaderinfo[num]->nextlevel); mapheaderinfo[num]->nextlevel = NULL;