From 01b075660d18e53382f7f2a95ce3db0e218d9832 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 5 Feb 2016 14:34:01 +0100 Subject: [PATCH] - removed the option to toggle portals with SetLineSpecial. This is to keep some people from jumping the gun on this and preventing the implementation of a proper toggling mechanism. The feature itself will come back, but differently. - removed portal setup from Build maps they don't define it anyway so it makes no sense to have it there. Once this code gets refactored this will be in a different place that's identical for all map types. --- src/p_acs.cpp | 3 --- src/p_buildmap.cpp | 5 ----- 2 files changed, 8 deletions(-) diff --git a/src/p_acs.cpp b/src/p_acs.cpp index e53b8dec6..7115b611c 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -8299,9 +8299,6 @@ scriptwait: line->args[4] = STACK(1); DPrintf("Set special on line %d (id %d) to %d(%d,%d,%d,%d,%d)\n", linenum, STACK(7), specnum, arg0, STACK(4), STACK(3), STACK(2), STACK(1)); - - // [ZZ] re-link with portals (in case this was something related to portal specials) - P_CheckPortal(line); } sp -= 7; } diff --git a/src/p_buildmap.cpp b/src/p_buildmap.cpp index e72d87d06..295dff831 100644 --- a/src/p_buildmap.cpp +++ b/src/p_buildmap.cpp @@ -630,11 +630,6 @@ static void LoadWalls (walltype *walls, int numwalls, sectortype *bsec) } } - // [ZZ] set initial line portal link - // (even though this is rather hard to happen... build doesn't have portals in our sense and it's walls don't get translated into anything like this) - for (int i = 0; i < numlines; i++) - P_CheckPortal(&lines[i]); - // Finish setting sector properties that depend on walls for (i = 0; i < numsectors; ++i, ++bsec) {