From 78ea00be59a2d78bb66f5f1e4885f0aa9ad0a045 Mon Sep 17 00:00:00 2001 From: ZZYZX Date: Tue, 16 Dec 2014 18:13:20 +0200 Subject: [PATCH] Put line ID from args[1] for Hexen maps --- src/p_setup.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/p_setup.cpp b/src/p_setup.cpp index 137de2b8c..51cbdf76e 100644 --- a/src/p_setup.cpp +++ b/src/p_setup.cpp @@ -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) {