- 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:
Christoph Oelckers 2016-06-29 12:19:00 +02:00
parent a99ff71d18
commit 17c212d5bc
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ static void PrepareTransparentDoors(sector_t * sector)
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;
return;