From eb753a0b7c921c07ca903bfc036944e9b14a180d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 27 Nov 2014 10:49:03 +0100 Subject: [PATCH] - fixed: We also should use the proper 'copied' info for the non-inverted planes. --- src/gl/scene/gl_flats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gl/scene/gl_flats.cpp b/src/gl/scene/gl_flats.cpp index d8329f2141..b0533ceb56 100644 --- a/src/gl/scene/gl_flats.cpp +++ b/src/gl/scene/gl_flats.cpp @@ -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_bottomflags&FF_INVERTPLANES)) + if (!rover->top.copied && !(rover->flags&FF_INVERTPLANES)) { fixed_t ff_top=rover->top.plane->ZatPoint(CenterSpot(sector)); if (ff_top>lastfloorheight)