mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-28 22:52:45 +00:00
- fixed: We also should use the proper 'copied' info for the non-inverted planes.
This commit is contained in:
parent
99d81621f9
commit
eb753a0b7c
1 changed files with 2 additions and 2 deletions
|
@ -656,7 +656,7 @@ void GLFlat::ProcessSector(sector_t * frontsector)
|
||||||
lastceilingheight=ff_top;
|
lastceilingheight=ff_top;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!(rover->flags&FF_INVERTPLANES))
|
if (!rover->bottom.copied && !(rover->flags&FF_INVERTPLANES))
|
||||||
{
|
{
|
||||||
fixed_t ff_bottom=rover->bottom.plane->ZatPoint(CenterSpot(sector));
|
fixed_t ff_bottom=rover->bottom.plane->ZatPoint(CenterSpot(sector));
|
||||||
if (ff_bottom<lastceilingheight)
|
if (ff_bottom<lastceilingheight)
|
||||||
|
@ -703,7 +703,7 @@ void GLFlat::ProcessSector(sector_t * frontsector)
|
||||||
lastfloorheight=ff_bottom;
|
lastfloorheight=ff_bottom;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!(rover->flags&FF_INVERTPLANES))
|
if (!rover->top.copied && !(rover->flags&FF_INVERTPLANES))
|
||||||
{
|
{
|
||||||
fixed_t ff_top=rover->top.plane->ZatPoint(CenterSpot(sector));
|
fixed_t ff_top=rover->top.plane->ZatPoint(CenterSpot(sector));
|
||||||
if (ff_top>lastfloorheight)
|
if (ff_top>lastfloorheight)
|
||||||
|
|
Loading…
Reference in a new issue