mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 05:31:00 +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;
|
||||
}
|
||||
}
|
||||
else if (line->PartnerSeg)
|
||||
else if (line->PartnerSeg && line->PartnerSeg->Subsector)
|
||||
{
|
||||
PolyTransferHeights fakeback(line->PartnerSeg->Subsector);
|
||||
sector_t *backsector = fakeback.FrontSector;
|
||||
|
|
Loading…
Reference in a new issue