From f40836dcecf87ff4004a15db2e86bfabbdfb4678 Mon Sep 17 00:00:00 2001 From: toaster Date: Mon, 15 Feb 2021 21:55:40 +0000 Subject: [PATCH] Fix skies not being Encore-remapped (only affected software :regret:) --- src/r_plane.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/r_plane.c b/src/r_plane.c index 3ec74bc47..a987fa330 100644 --- a/src/r_plane.c +++ b/src/r_plane.c @@ -644,6 +644,8 @@ static void R_DrawSkyPlane(visplane_t *pl) // Because of this hack, sky is not affected // by sector colormaps (INVUL inverse mapping is not implemented in SRB2 so is irrelevant). dc_colormap = colormaps; + if (encoremap) + dc_colormap += (256*32); dc_texturemid = skytexturemid; dc_texheight = textureheight[skytexture] >>FRACBITS;