- 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

View file

@ -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)