- fixed: interactive line portals were always deactivated, regardless of alignment type.

This commit is contained in:
Christoph Oelckers 2016-05-25 11:36:23 +02:00
parent f241d9773a
commit cc685e982b
1 changed files with 1 additions and 1 deletions

View File

@ -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));