Skip to content

Commit aec4db1

Browse files
authored
fix A_JumpIfFlagsSet always evaluating to true if Args3 is set for MBF21 flags (#1481)
1 parent 15d0f40 commit aec4db1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Core/World/Entities/Definition/States/EntityActionFunctions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3367,7 +3367,7 @@ private static void A_JumpIfFlagsSet(Entity entity)
33673367

33683368
if (flags != 0 && !DehackedApplier.CheckEntityFlags(entity, flags))
33693369
return;
3370-
if (flags2 != 0 && !DehackedApplier.CheckEntityFlagsMbf21(entity, flags))
3370+
if (flags2 != 0 && !DehackedApplier.CheckEntityFlagsMbf21(entity, flags2))
33713371
return;
33723372

33733373
var entityFrameTable = WorldStatic.World.ArchiveCollection.Definitions.EntityFrameTable;

RELEASENOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- Fix crash that can happen with hud string rendering.
1414
- Fix boom teleport line specials to match boom behavior for non-players. Fixes Remanence MAP01 cyber platforms not lowering.
1515
- Fix boom generalized sector damage not working.
16+
- Fix A_JumpIfFlagsSet always evaluating to true if Args3 is set for MBF21 flags.
1617

1718
## Misc:
1819
- Add compatibility for Eviternity II Annihilate Me skill level to swap incorrect usage of SpawnMulti to SpawnMultiCoopOnly.

0 commit comments

Comments
 (0)