- compatibility optioned triggering sector actions by indirectly initiated teleports

There's several old maps depending on this not happening.

- Set the option for Hell's Twisted Influence Part 1.
This commit is contained in:
Christoph Oelckers 2016-08-07 22:03:36 +02:00
commit ab837b608d
6 changed files with 12 additions and 2 deletions

View file

@ -434,7 +434,8 @@ bool P_TeleportMove(AActor* thing, const DVector3 &pos, bool telefrag, bool modi
// If this teleport was caused by a move, P_TryMove() will handle the
// sector transition messages better than we can here.
if (!(thing->flags6 & MF6_INTRYMOVE))
// This needs to be compatibility optioned because some older maps exploited this missing feature.
if (!(thing->flags6 & MF6_INTRYMOVE) && !(i_compatflags2 & COMPATF2_TELEPORT))
{
thing->CheckSectorTransition(oldsec);
}