- fixed: We also should use the proper 'copied' info for the non-inverted planes.

This commit is contained in:
Christoph Oelckers 2014-11-27 10:49:03 +01:00
parent 99d81621f9
commit eb753a0b7c
1 changed files with 2 additions and 2 deletions

View File

@ -656,7 +656,7 @@ void GLFlat::ProcessSector(sector_t * frontsector)
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));
if (ff_bottom<lastceilingheight)
@ -703,7 +703,7 @@ void GLFlat::ProcessSector(sector_t * frontsector)
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));
if (ff_top>lastfloorheight)