diff options
author | Edan <79129327+EdnY1@users.noreply.github.com> | 2025-09-04 17:21:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-04 23:21:33 +0200 |
commit | 0728b899a76a07f7758b1e0d39e843463d4ea2b5 (patch) | |
tree | bf76286294c769330202b2bfeb57b7c235cc4eda | |
parent | d5921303b7b7013c14e26c81de99ef3a0a171c5f (diff) |
Core/Unit: Also remove snare mechanics caused by effects on RemoveMovementImpairingAuras (#31207)
-rw-r--r-- | src/server/game/Entities/Unit/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index d3b8df73d81..220ee3c71db 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -4067,7 +4067,7 @@ void Unit::RemoveMovementImpairingAuras(bool withRoot) if (withRoot) RemoveAurasWithMechanic(1 << MECHANIC_ROOT, AURA_REMOVE_BY_DEFAULT, 0, true); - RemoveAurasWithMechanic(1 << MECHANIC_SNARE, AURA_REMOVE_BY_DEFAULT, 0, false); + RemoveAurasWithMechanic(1 << MECHANIC_SNARE, AURA_REMOVE_BY_DEFAULT, 0, true); } void Unit::RemoveAurasWithMechanic(uint32 mechanicMaskToRemove, AuraRemoveMode removeMode, uint32 exceptSpellId, bool withEffectMechanics) |