aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-29 01:00:15 -0500
committermegamage <none@none>2009-04-29 01:00:15 -0500
commitc5f7ab377db14e48d10fb4eab4ea6fffa65b7763 (patch)
tree0179a69239cee5431bb3faf256d9c32ed58ebfde /src/game/SpellEffects.cpp
parenta2b12f3ae8f237b1dfd33fae54d7bca0f8315b86 (diff)
*Fix build.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index e5d15ba6515..b96eb399fc2 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -4850,7 +4850,7 @@ void Spell::EffectScriptEffect(uint32 effIndex)
return;
// Prevent stacking of mounts
- unitTarget->RemoveSpellsCausingAura(SPELL_AURA_MOUNTED);
+ unitTarget->RemoveAurasByType(SPELL_AURA_MOUNTED);
// Triggered spell id dependent of riding skill
if(uint16 skillval = ((Player*)unitTarget)->GetSkillValue(SKILL_RIDING))