From 7b2c5484d9a3c6781aeb200957e0a78db9df12df Mon Sep 17 00:00:00 2001 From: Biglad Date: Mon, 19 Oct 2009 14:07:26 +0100 Subject: * Fix client crash related to magic broom stick * Fix exploit with Headless Horseman's Mount (no more never ending fly mode for players) --HG-- branch : trunk --- src/game/SpellAuras.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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); } } -- cgit v1.2.3