- 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
|
|
@ -1631,7 +1631,7 @@ void GLWall::Process(seg_t *seg, sector_t * frontsector, sector_t * backsector)
|
|||
else if (!(seg->sidedef->Flags & WALLF_POLYOBJ))
|
||||
{
|
||||
// skip processing if the back is a malformed subsector
|
||||
if (!(seg->PartnerSeg->Subsector->hacked & 4))
|
||||
if (seg->PartnerSeg != NULL && !(seg->PartnerSeg->Subsector->hacked & 4))
|
||||
{
|
||||
gl_drawinfo->AddUpperMissingTexture(seg->sidedef, sub, bch1a);
|
||||
}
|
||||
|
|
@ -1704,7 +1704,7 @@ void GLWall::Process(seg_t *seg, sector_t * frontsector, sector_t * backsector)
|
|||
!(seg->sidedef->Flags & WALLF_POLYOBJ))
|
||||
{
|
||||
// skip processing if the back is a malformed subsector
|
||||
if (!(seg->PartnerSeg->Subsector->hacked & 4))
|
||||
if (seg->PartnerSeg != NULL && !(seg->PartnerSeg->Subsector->hacked & 4))
|
||||
{
|
||||
gl_drawinfo->AddLowerMissingTexture(seg->sidedef, sub, bfh1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue