mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-16 23:31:10 +00:00
Put line ID from args[1] for Hexen maps
This commit is contained in:
parent
2df45598d8
commit
cac266b5df
1 changed files with 5 additions and 0 deletions
|
@ -1956,6 +1956,11 @@ void P_SetLineID (line_t *ld)
|
||||||
case Static_Init:
|
case Static_Init:
|
||||||
if (ld->args[1] == Init_SectorLink) ld->id = ld->args[0];
|
if (ld->args[1] == Init_SectorLink) ld->id = ld->args[0];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Line_SetPortal:
|
||||||
|
case Line_SetVisualPortal:
|
||||||
|
ld->id = ld->args[1]; // 0 = target id, 1 = this id, 2 = plane anchor
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue