mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- when drawing skies on walls where both sides are sky, use the backside's texture.
This fixes a sky anomaly in RR's E1L1.
This commit is contained in:
parent
4cdc39c9b9
commit
d348377bd8
1 changed files with 2 additions and 0 deletions
|
@ -185,6 +185,7 @@ void HWWall::SkyTop(HWDrawInfo *di, walltype * seg,sectortype * fs,sectortype *
|
|||
|
||||
// if the back sector is closed the sky must be drawn!
|
||||
if (c1 > f1 || c2 > f2) return;
|
||||
fs = bs; // draw sky from the backsector.
|
||||
}
|
||||
|
||||
flags |= HWF_SKYHACK; // mid textures on such lines need special treatment!
|
||||
|
@ -241,6 +242,7 @@ void HWWall::SkyBottom(HWDrawInfo *di, walltype * seg,sectortype * fs,sectortype
|
|||
if (c1 > f1 || c2 > f2) return;
|
||||
}
|
||||
flags |= HWF_SKYHACK; // mid textures on such lines need special treatment!
|
||||
fs = bs; // draw sky from the backsector.
|
||||
}
|
||||
else return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue