- GL adjustments for plane changes.
This commit is contained in:
parent
37e6429cf3
commit
59bb003285
12 changed files with 52 additions and 53 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue