mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- Fixed: Static mirrors in hexen format maps were broken.
This commit is contained in:
parent
f3f77a1ba0
commit
b6cdcddf30
2 changed files with 3 additions and 10 deletions
|
@ -2068,6 +2068,9 @@ void P_FinishLoadingLineDef(line_t *ld, int alpha)
|
||||||
ld->special = 0;
|
ld->special = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// [ZZ] check initial portal link
|
||||||
|
P_CheckPortal(ld);
|
||||||
}
|
}
|
||||||
// killough 4/4/98: delay using sidedefs until they are loaded
|
// killough 4/4/98: delay using sidedefs until they are loaded
|
||||||
void P_FinishLoadingLineDefs ()
|
void P_FinishLoadingLineDefs ()
|
||||||
|
@ -2177,11 +2180,6 @@ void P_LoadLineDefs (MapData * map)
|
||||||
if (level.flags2 & LEVEL2_WRAPMIDTEX) ld->flags |= ML_WRAP_MIDTEX;
|
if (level.flags2 & LEVEL2_WRAPMIDTEX) ld->flags |= ML_WRAP_MIDTEX;
|
||||||
if (level.flags2 & LEVEL2_CHECKSWITCHRANGE) ld->flags |= ML_CHECKSWITCHRANGE;
|
if (level.flags2 & LEVEL2_CHECKSWITCHRANGE) ld->flags |= ML_CHECKSWITCHRANGE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// [ZZ] check initial portal link
|
|
||||||
for (int i = 0; i < numlines; i++)
|
|
||||||
P_CheckPortal(&lines[i]);
|
|
||||||
|
|
||||||
delete[] mldf;
|
delete[] mldf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1792,11 +1792,6 @@ public:
|
||||||
P_AdjustLine(&lines[line]);
|
P_AdjustLine(&lines[line]);
|
||||||
P_FinishLoadingLineDef(&lines[line], tempalpha[0]);
|
P_FinishLoadingLineDef(&lines[line], tempalpha[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// [ZZ] check initial portal link
|
|
||||||
for (int i = 0; i < numlines; i++)
|
|
||||||
P_CheckPortal(&lines[i]);
|
|
||||||
|
|
||||||
assert(side <= numsides);
|
assert(side <= numsides);
|
||||||
if (side < numsides)
|
if (side < numsides)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue