- added a map flag to disable MF6_JUMPDOWN.

Not really useful but since MBF has this we may need it if we support the OPTIONS lump for MBF21 later.
This is intentionally not exposed to MAPINFO.
This commit is contained in:
Christoph Oelckers 2021-08-21 11:37:57 +02:00
commit b1de11dce8
2 changed files with 2 additions and 1 deletions

View file

@ -456,7 +456,7 @@ int P_Move (AActor *actor)
// and only if the target is immediately on the other side of the line.
AActor *target = actor->target;
if ((actor->flags6 & MF6_JUMPDOWN) && target &&
if ((actor->flags6 & MF6_JUMPDOWN) && target && !(actor->Level->flags3 & LEVEL3_NOJUMPDOWN) &&
!(target->IsFriend(actor)) &&
actor->Distance2D(target) < 144 &&
pr_dropoff() < 235)