From cac266b5dfbe329be5161a8b259bcf1e8b2a5536 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 8076e19a9..361832323 100644 --- a/src/p_setup.cpp +++ b/src/p_setup.cpp @@ -1956,6 +1956,11 @@ void P_SetLineID (line_t *ld) case Static_Init: if (ld->args[1] == Init_SectorLink) ld->id = 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; } } }