aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-01 18:37:32 -0500
committermegamage <none@none>2009-05-01 18:37:32 -0500
commitdb817d668aab117b3abddcc617610f9a38f66798 (patch)
treeebf4b73d3f2ce7aca6bc1289b4d98eb4065aed42 /src/game/SpellAuras.cpp
parente1b8fff590c6aca21297ecc638b29b59c4507cfe (diff)
parentc9cd3b07f9e69030a86bcd9f06055f4247732d1d (diff)
*Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index fa3e6ef937a..0f3056e043d 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -2975,8 +2975,7 @@ void AuraEffect::HandleAuraModShapeshift(bool apply, bool Real)
case FORM_FLIGHT:
case FORM_MOONKIN:
// remove movement affects
- m_target->RemoveAurasByType(SPELL_AURA_MOD_ROOT);
- m_target->RemoveAurasByType(SPELL_AURA_MOD_DECREASE_SPEED);
+ m_target->RemoveMovementImpairingAuras();
// and polymorphic affects
if(m_target->IsPolymorphed())