From bda189ac5bd50b298f3d6fd30aeb92bb77e98c41 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 9c4ef78e3..c4d030f33 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -398,12 +398,6 @@ static void P_ClearSingleMapHeaderInfo(INT16 i) const INT16 num = (INT16)(i-1); boolean exists = (mapheaderinfo[gamemap-1]->alreadyExists == true); - 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;