Skip to content

Commit

Permalink
Map Importer: Improved render hack detection
Browse files Browse the repository at this point in the history
If a sector has self-referencing lines, they do not interfere with missing texture detection in the regular lines.

IssueID #2370
  • Loading branch information
skyjake committed Jan 8, 2020
1 parent 8acc3bc commit b07555e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doomsday/apps/plugins/importidtech1/src/mapimporter.cpp
Expand Up @@ -1508,6 +1508,11 @@ DENG2_PIMPL(MapImporter)
goodHacks = 0;
break;
}
if (sides[line.sides[0]].sector == sides[line.sides[1]].sector)
{
// Does not affect this hack.
continue;
}

const auto innerSide = LineDef::Side(sideOfSector(line, currentSector));
const auto outerSide = opposite(innerSide);
Expand Down

0 comments on commit b07555e

Please sign in to comment.