aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-08 19:01:40 -0500
committermegamage <none@none>2009-05-08 19:01:40 -0500
commit1fb48b3e3420d9a3a4b6142f062bb3d0cf6156c2 (patch)
tree1234f70293307b68afd596d0228c9a0aa1a92989 /src/game/Player.cpp
parent29921b5bea032c1f701dda5f4fe64e10dc0b067a (diff)
[7799] Use single function for SMSG_SPELLNONMELEEDAMAGELOG prepare. Merge comments, replace values by enums. Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index a1ec4606d2a..9e27d2d3bec 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -17163,7 +17163,7 @@ bool Player::ActivateTaxiPathTo(std::vector<uint32> const& nodes, Creature* npc
// cast case or scripted call case
else
{
- RemoveSpellsCausingAura(SPELL_AURA_MOUNTED);
+ RemoveAurasByType(SPELL_AURA_MOUNTED);
if( m_ShapeShiftFormSpellId && m_form != FORM_BATTLESTANCE && m_form != FORM_BERSERKERSTANCE && m_form != FORM_DEFENSIVESTANCE && m_form != FORM_SHADOW )
RemoveAurasDueToSpell(m_ShapeShiftFormSpellId);