mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-12 07:34:36 +00:00
Put line ID from args[1] for Hexen maps
This commit is contained in:
parent
cd39c4b8a6
commit
78ea00be59
1 changed files with 5 additions and 0 deletions
|
@ -1961,6 +1961,11 @@ void P_SetLineID (int i, line_t *ld)
|
|||
case Static_Init:
|
||||
if (ld->args[1] == Init_SectorLink) setid = ld->args[0];
|
||||
break;
|
||||
|
||||
case Line_SetPortal:
|
||||
case Line_SetVisualPortal:
|
||||
ld->id = ld->args[1]; // 0 = target id, 1 = this id, 2 = plane anchor
|
||||
break;
|
||||
}
|
||||
if (setid != -1)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue