aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRetriman <nicolas_katre@hotmail.com>2012-10-07 11:51:56 -0400
committerRetriman <nicolas_katre@hotmail.com>2012-10-07 11:51:56 -0400
commit0aa63988654e2e436974615575ddb8bf2be9c8ab (patch)
treeebdbc052c069e441e4ed99b43b517b2715814100 /src
parent4596fc776e876c2ff131197ba0ab603e74d07144 (diff)
Core/Misc: Not produce the error "can not do that while moving" to dismount.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Spells/Auras/SpellAuraEffects.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp
index f28a02a52fc..4fa0468cf35 100755
--- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp
+++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp
@@ -2863,6 +2863,7 @@ void AuraEffect::HandleAuraAllowFlight(AuraApplication const* aurApp, uint8 mode
{
target->RemoveUnitMovementFlag(MOVEMENTFLAG_MASK_MOVING_FLY);
target->GetMotionMaster()->MoveFall();
+ target->m_movementInfo.SetFallTime(0);
}
Player* player = target->ToPlayer();