mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 23:32:04 +00:00
- disable transparent door render hacks if any of the involved sectors contains floor slopes.
These lead to false positives but rarely represent actual hacks.
This commit is contained in:
parent
a99ff71d18
commit
17c212d5bc
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ static void PrepareTransparentDoors(sector_t * sector)
|
||||||
|
|
||||||
int side = sector->lines[i]->sidedef[0]->sector == sec;
|
int side = sector->lines[i]->sidedef[0]->sector == sec;
|
||||||
|
|
||||||
if (sector->GetPlaneTexZ(sector_t::floor)!=sec->GetPlaneTexZ(sector_t::floor)+1.)
|
if (sector->GetPlaneTexZ(sector_t::floor)!=sec->GetPlaneTexZ(sector_t::floor)+1. || sec->floorplane.isSlope())
|
||||||
{
|
{
|
||||||
sector->transdoor=false;
|
sector->transdoor=false;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue