- added handling for intra-sector lines to lighting code.
This commit is contained in:
parent
ba66c0c889
commit
87973ff504
3 changed files with 55 additions and 44 deletions
|
|
@ -658,7 +658,9 @@ public:
|
|||
}
|
||||
for (auto side : section.originalSides)
|
||||
{
|
||||
group.sideMap[side->Index()] = true;
|
||||
// This is only used for attaching lights to those sidedefs which are not part of the outline.
|
||||
if (side->linedef && side->linedef->sidedef[1] && side->linedef->sidedef[0]->sector == side->linedef->sidedef[1]->sector)
|
||||
group.sideMap[side->Index()] = true;
|
||||
}
|
||||
}
|
||||
numsides += group.sideMap.CountUsed();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue