- fixed: The PolyBSPs weren't fully initialized. Some GZDoom-only fields in the segs were skipped.
This commit is contained in:
parent
5d032f3fcf
commit
9f1f17c306
2 changed files with 7 additions and 2 deletions
|
|
@ -267,6 +267,11 @@ static void AddPolyobjs(subsector_t *sub)
|
|||
if (sub->BSP == NULL || sub->BSP->bDirty)
|
||||
{
|
||||
sub->BuildPolyBSP();
|
||||
for (unsigned i = 0; i < sub->BSP->Segs.Size(); i++)
|
||||
{
|
||||
sub->BSP->Segs[i].Subsector = sub;
|
||||
sub->BSP->Segs[i].PartnerSeg = NULL;
|
||||
}
|
||||
}
|
||||
if (sub->BSP->Nodes.Size() == 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue