From f9cbaef1df62767ae49e1fe4d45d33c348190dc0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 30 Nov 2015 00:11:30 +0100 Subject: [PATCH] - fixed: Boom's Transfer_Heights did not work for upper parts in sectors with a sky ceiling. This incorrect check has been in the code for 12 years, unfortunately I have no idea anymore why it was added. --- src/gl/scene/gl_fakeflat.cpp | 2 +- src/gl/scene/gl_walls.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gl/scene/gl_fakeflat.cpp b/src/gl/scene/gl_fakeflat.cpp index 86408272a2..6ff6bd1137 100644 --- a/src/gl/scene/gl_fakeflat.cpp +++ b/src/gl/scene/gl_fakeflat.cpp @@ -227,7 +227,7 @@ sector_t * gl_FakeFlat(sector_t * sec, sector_t * dest, area_t in_area, bool bac if (in_area==area_above) { - if (sec->heightsec->MoreFlags&SECF_FAKEFLOORONLY || sec->GetTexture(sector_t::ceiling)==skyflatnum) in_area=area_normal; + if (sec->heightsec->MoreFlags&SECF_FAKEFLOORONLY /*|| sec->GetTexture(sector_t::ceiling)==skyflatnum*/) in_area=area_normal; } int diffTex = (sec->heightsec->MoreFlags & SECF_CLIPFAKEPLANES); diff --git a/src/gl/scene/gl_walls.cpp b/src/gl/scene/gl_walls.cpp index d192bf36f0..b5317dc2ab 100644 --- a/src/gl/scene/gl_walls.cpp +++ b/src/gl/scene/gl_walls.cpp @@ -1420,7 +1420,7 @@ void GLWall::Process(seg_t *seg, sector_t * frontsector, sector_t * backsector) sector_t * realback; #ifdef _DEBUG - if (seg->linedef-lines==4) + if (seg->linedef-lines==5835) { int a = 0; }