Ignore texture on horizon lines when in OGL

Before: https://cdn.discordapp.com/attachments/300531341957529602/484842910475354124/kart0110.png
After: https://cdn.discordapp.com/attachments/270211093761097728/484841628771680258/kart0109.png

Not a solution, but better than the previous.
This commit is contained in:
TehRealSalt 2018-08-30 17:53:25 -04:00
parent 9d514f2f98
commit f6ce2bfb54

View file

@ -2041,7 +2041,8 @@ static void HWR_StoreWallRange(double startfrac, double endfrac)
{ {
// Single sided line... Deal only with the middletexture (if one exists) // Single sided line... Deal only with the middletexture (if one exists)
gr_midtexture = R_GetTextureNum(gr_sidedef->midtexture); gr_midtexture = R_GetTextureNum(gr_sidedef->midtexture);
if (gr_midtexture) if (gr_midtexture
&& gr_linedef->special != 41) // Ignore horizon line for OGL
{ {
if (drawtextured) if (drawtextured)
{ {