Fix skies not being Encore-remapped (only affected software :regret:)

This commit is contained in:
toaster 2021-02-15 21:55:40 +00:00
parent a597d9b463
commit f40836dcec

View file

@ -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;