* 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
This commit is contained in:
Biglad
2009-10-19 14:07:26 +01:00
parent d09f2a1405
commit 7b2c5484d9
+4
View File
@@ -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);
}
}