From cc685e982b7ff1c5c2e18a7e34bb84fc43eb6bed Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 25 May 2016 11:36:23 +0200 Subject: [PATCH] - fixed: interactive line portals were always deactivated, regardless of alignment type. --- src/portal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/portal.cpp b/src/portal.cpp index 64a4dd97de..74d97b6e74 100644 --- a/src/portal.cpp +++ b/src/portal.cpp @@ -314,7 +314,7 @@ void P_SpawnLinePortal(line_t* line) else { port->mAlign = BYTE(line->args[3] >= PORG_ABSOLUTE && line->args[3] <= PORG_CEILING ? line->args[3] : PORG_ABSOLUTE); - if (port->mType == PORTT_INTERACTIVE) + if (port->mType == PORTT_INTERACTIVE && port->mAlign != PORG_ABSOLUTE) { // Due to the way z is often handled, these pose a major issue for parts of the code that needs to transparently handle interactive portals. Printf(TEXTCOLOR_RED "Warning: z-offsetting not allowed for interactive portals. Changing line %d to teleport-portal!\n", int(line - lines));