From 8aa237fbfe1d0ca759f2694d871deb51850a7f13 Mon Sep 17 00:00:00 2001 From: ccrs Date: Tue, 21 Oct 2025 19:56:28 +0200 Subject: Core/Spell: dont force MoveFall on flight auras if the unit can still fly If either DISABLE_GRAVITY is enabled, or CanFly (movement_template creatures/CAN_FLY players) is still present from other sources (other auras). --- src/server/game/Spells/Auras/SpellAuraEffects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index 4a066ff0685..6026ae2e6e6 100644 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -2668,7 +2668,7 @@ void AuraEffect::HandleAuraAllowFlight(AuraApplication const* aurApp, uint8 mode if (target->SetCanFly(apply)) { - if (!apply && !target->IsGravityDisabled()) + if (!apply && !target->IsGravityDisabled() && !target->CanFly()) target->GetMotionMaster()->MoveFall(); } } -- cgit v1.2.3