mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-01 00:41:16 +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
4018301434
commit
2f7563a5b0
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)
|
||||
gr_midtexture = R_GetTextureNum(gr_sidedef->midtexture);
|
||||
if (gr_midtexture)
|
||||
if (gr_midtexture
|
||||
&& gr_linedef->special != 41) // Ignore horizon line for OGL
|
||||
{
|
||||
if (drawtextured)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue