From d25bc75a92769edc7e6e0e724d9d34c0580535cf Mon Sep 17 00:00:00 2001 From: MascaraSnake Date: Wed, 5 Jan 2022 09:22:13 +0100 Subject: [PATCH] Remove redundant UDMF check in P_LoadSidedefs --- src/p_setup.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/p_setup.c b/src/p_setup.c index 399f66c58..b89b38f5b 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -1233,11 +1233,8 @@ static void P_LoadSidedefs(UINT8 *data) case 455: // Fade colormaps! mazmazz 9/12/2018 (:flag_us:) // SoM: R_CreateColormap will only create a colormap in software mode... // Perhaps we should just call it instead of doing the calculations here. - if (!udmf) - { - sd->colormap_data = R_CreateColormapFromLinedef(msd->toptexture, msd->midtexture, msd->bottomtexture); - sd->toptexture = sd->midtexture = sd->bottomtexture = 0; - } + sd->colormap_data = R_CreateColormapFromLinedef(msd->toptexture, msd->midtexture, msd->bottomtexture); + sd->toptexture = sd->midtexture = sd->bottomtexture = 0; break; case 413: // Change music