mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed: non-existent partner segs were not properly initialized.
This commit is contained in:
parent
bc492a0b7f
commit
cc8c20adf8
1 changed files with 2 additions and 1 deletions
|
@ -930,7 +930,8 @@ void P_LoadGLZSegs (FileReaderBase &data, int type)
|
|||
{
|
||||
seg[-1].v2 = seg->v1;
|
||||
}
|
||||
seg->PartnerSeg = &segs[partner];
|
||||
|
||||
seg->PartnerSeg = partner == 0xffffffffu? nullptr : &segs[partner];
|
||||
if (line != 0xFFFFFFFF)
|
||||
{
|
||||
line_t *ldef;
|
||||
|
|
Loading…
Reference in a new issue