aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRetriman <nicolas_katre@hotmail.com>2012-10-07 14:36:53 -0400
committerRetriman <nicolas_katre@hotmail.com>2012-10-07 14:36:53 -0400
commit76d19ede4f9a315f85df3f458e69f13619547ba0 (patch)
tree6fc3ed780659192b68750ade2b50b351ea4121ad
parent4596fc776e876c2ff131197ba0ab603e74d07144 (diff)
Core/Misc: Shapeshift druid flying now displays an animation of falling.
-rwxr-xr-xsrc/server/game/Spells/Auras/SpellAuraEffects.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp
index f28a02a52fc..a8b37581c19 100755
--- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp
+++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp
@@ -3254,9 +3254,8 @@ void AuraEffect::HandleAuraModIncreaseFlightSpeed(AuraApplication const* aurApp,
target->SetCanFly(apply);
if (!apply)
{
- target->RemoveUnitMovementFlag(MOVEMENTFLAG_FLYING);
- target->AddUnitMovementFlag(MOVEMENTFLAG_FALLING);
target->m_movementInfo.SetFallTime(0);
+ target->RemoveUnitMovementFlag(MOVEMENTFLAG_MASK_MOVING_FLY);
}
Player* player = target->ToPlayer();