From 9f805daa735bec6cbefef769393da791abf786ba Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 3 Mar 2016 20:29:43 +0100 Subject: [PATCH] - added missing handling of ALF_PORTALRESTRICT flag. --- src/p_map.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/p_map.cpp b/src/p_map.cpp index 4d30246f3..09a209496 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -3702,6 +3702,7 @@ struct aim_t aim_t newtrace = Clone(); FLinePortal *port = li->getPortal(); + if (port->mType != PORTT_LINKED && (flags & ALF_PORTALRESTRICT)) return; newtrace.toppitch = toppitch; newtrace.bottompitch = bottompitch;