aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellAuras.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 4321ca98cfc..150b97fa30f 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -3293,6 +3293,10 @@ void AuraEffect::HandleAuraMounted(bool apply, bool Real, bool /*changeAmount*/)
else
{
m_target->Unmount();
+ //some mounts like Headless Horseman's Mount or broom stick are skill based spell
+ // need to remove ALL arura related to mounts, this will stop client crash with broom stick
+ // and never endless flying after using Headless Horseman's Mount
+ m_target->RemoveAurasByType(SPELL_AURA_MOUNTED);
}
}