mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- checked P_GetRenderSector against the original implementation from before the glsegextras were added and reinstated all checks from that version.
This commit is contained in:
parent
0d575a20cc
commit
bcd73292d3
1 changed files with 1 additions and 1 deletions
|
@ -1443,7 +1443,7 @@ void P_SetRenderSector()
|
|||
{
|
||||
int partner = (int)(p - segs);
|
||||
|
||||
if (partner < 0 || partner >= numsegs)
|
||||
if (partner < 0 || partner >= numsegs || &segs[partner] != p)
|
||||
{
|
||||
segs[i].PartnerSeg = nullptr;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue