- 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.
This commit is contained in:
Christoph Oelckers 2015-11-30 00:11:30 +01:00
parent 6e22be89e4
commit f9cbaef1df
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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;
}