- 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.
This commit is contained in:
Christoph Oelckers 2016-03-04 15:24:13 +01:00
parent caf2ca0df7
commit e290bc6fd0
1 changed files with 4 additions and 0 deletions

View File

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