- GL adjustments for plane changes.

This commit is contained in:
Christoph Oelckers 2016-03-29 13:45:50 +02:00
commit 59bb003285
12 changed files with 52 additions and 53 deletions

View file

@ -324,7 +324,7 @@ static void PrepareTransparentDoors(sector_t * sector)
if (sector->subsectorcount==0) return;
sector->transdoorheight=sector->GetPlaneTexZ(sector_t::floor);
sector->transdoor= !(sector->e->XFloor.ffloors.Size() || sector->heightsec || sector->floorplane.a || sector->floorplane.b);
sector->transdoor= !(sector->e->XFloor.ffloors.Size() || sector->heightsec || sector->floorplane.isSlope());
if (sector->transdoor)
{