mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-17 23:21:05 +00:00
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:
parent
9d514f2f98
commit
f6ce2bfb54
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue