mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-18 23:21:41 +00:00
- fixed loop ordering in P_SetRenderSector.
This commit is contained in:
parent
8256f25a84
commit
9f550941d2
1 changed files with 5 additions and 6 deletions
|
@ -1456,7 +1456,7 @@ void P_SetRenderSector()
|
|||
segs[i].PartnerSeg = segs[i].PartnerSeg->PartnerSeg = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
for (i = 0; i < numsegs; i++)
|
||||
{
|
||||
if (segs[i].PartnerSeg != nullptr && segs[i].PartnerSeg->PartnerSeg != &segs[i])
|
||||
|
@ -1464,7 +1464,6 @@ void P_SetRenderSector()
|
|||
segs[i].PartnerSeg = nullptr;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// look up sector number for each subsector
|
||||
for (i = 0; i < numsubsectors; i++)
|
||||
|
|
Loading…
Reference in a new issue