mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 16:41:22 +00:00
- fixed UDMF initialization for linedef portal info.
This commit is contained in:
parent
1c74faea73
commit
a54d2d8a55
1 changed files with 1 additions and 3 deletions
|
@ -792,6 +792,7 @@ public:
|
|||
memset(ld, 0, sizeof(*ld));
|
||||
ld->alpha = 1.;
|
||||
ld->portalindex = UINT_MAX;
|
||||
ld->portaltransferred = UINT_MAX;
|
||||
ld->sidedef[0] = ld->sidedef[1] = NULL;
|
||||
if (level.flags2 & LEVEL2_CLIPMIDTEX) ld->flags |= ML_CLIP_MIDTEX;
|
||||
if (level.flags2 & LEVEL2_WRAPMIDTEX) ld->flags |= ML_WRAP_MIDTEX;
|
||||
|
@ -1824,9 +1825,6 @@ public:
|
|||
{
|
||||
short tempalpha[2] = { SHRT_MIN, SHRT_MIN };
|
||||
|
||||
lines[line].portalindex = UINT_MAX;
|
||||
lines[line].portaltransferred = UINT_MAX;
|
||||
|
||||
lines[line] = ParsedLines[line];
|
||||
|
||||
for(int sd = 0; sd < 2; sd++)
|
||||
|
|
Loading…
Reference in a new issue