From e290bc6fd073bba60b0b8e9b1428d75166f05790 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 4 Mar 2016 15:24:13 +0100 Subject: [PATCH] - fixed: In Hexen, ThrustThing can not be triggered from the backside of a line. This gets only activated when the HEXENHACK flag is set. For ZDoom maps there is a specific line flag to handle this condition explicitly. --- src/p_lnspec.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/p_lnspec.cpp b/src/p_lnspec.cpp index 5c1693ac9..857c8ef87 100644 --- a/src/p_lnspec.cpp +++ b/src/p_lnspec.cpp @@ -1115,6 +1115,10 @@ FUNC(LS_ThrustThing) } else if (it) { + if (level.flags2 & LEVEL2_HEXENHACK && backSide) + { + return false; + } ThrustThingHelper (it, BYTEANGLE(arg0), arg1, arg2); return true; }