Skip to content

Commit 0728b89

Browse files
authored
Core/Unit: Also remove snare mechanics caused by effects on RemoveMovementImpairingAuras (#31207)
1 parent d592130 commit 0728b89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/game/Entities/Unit/Unit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4067,7 +4067,7 @@ void Unit::RemoveMovementImpairingAuras(bool withRoot)
40674067
if (withRoot)
40684068
RemoveAurasWithMechanic(1 << MECHANIC_ROOT, AURA_REMOVE_BY_DEFAULT, 0, true);
40694069

4070-
RemoveAurasWithMechanic(1 << MECHANIC_SNARE, AURA_REMOVE_BY_DEFAULT, 0, false);
4070+
RemoveAurasWithMechanic(1 << MECHANIC_SNARE, AURA_REMOVE_BY_DEFAULT, 0, true);
40714071
}
40724072

40734073
void Unit::RemoveAurasWithMechanic(uint32 mechanicMaskToRemove, AuraRemoveMode removeMode, uint32 exceptSpellId, bool withEffectMechanics)

0 commit comments

Comments
 (0)