mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- fix null pointer crash in softpoly
This commit is contained in:
parent
2baed338f7
commit
61f379c88f
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ bool RenderPolyWall::RenderLine(PolyRenderThread *thread, seg_t *line, sector_t
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (line->PartnerSeg)
|
else if (line->PartnerSeg && line->PartnerSeg->Subsector)
|
||||||
{
|
{
|
||||||
PolyTransferHeights fakeback(line->PartnerSeg->Subsector);
|
PolyTransferHeights fakeback(line->PartnerSeg->Subsector);
|
||||||
sector_t *backsector = fakeback.FrontSector;
|
sector_t *backsector = fakeback.FrontSector;
|
||||||
|
|
Loading…
Reference in a new issue