mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-28 06:42:09 +00:00
- fixed: lower textures used the wrong reference height for alignment
This commit is contained in:
parent
2e16f3d77e
commit
7a7e1652fc
1 changed files with 1 additions and 1 deletions
|
@ -1580,7 +1580,7 @@ void GLWall::Process(seg_t *seg, sector_t * frontsector, sector_t * backsector)
|
||||||
if (gltexture)
|
if (gltexture)
|
||||||
{
|
{
|
||||||
DoTexture(RENDERWALL_BOTTOM, seg, (seg->linedef->flags & ML_DONTPEGBOTTOM) > 0,
|
DoTexture(RENDERWALL_BOTTOM, seg, (seg->linedef->flags & ML_DONTPEGBOTTOM) > 0,
|
||||||
realback->GetPlaneTexZF(sector_t::floor), crefz,
|
realback->GetPlaneTexZF(sector_t::floor), frefz,
|
||||||
bfh1, bfh2, ffh1, ffh2,
|
bfh1, bfh2, ffh1, ffh2,
|
||||||
frontsector->GetTexture(sector_t::ceiling) == skyflatnum && backsector->GetTexture(sector_t::ceiling) == skyflatnum ?
|
frontsector->GetTexture(sector_t::ceiling) == skyflatnum && backsector->GetTexture(sector_t::ceiling) == skyflatnum ?
|
||||||
frefz - realback->GetPlaneTexZF(sector_t::ceiling) :
|
frefz - realback->GetPlaneTexZF(sector_t::ceiling) :
|
||||||
|
|
Loading…
Reference in a new issue