aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-11-02 20:30:25 -0800
committermaximius <none@none>2009-11-02 20:30:25 -0800
commitffb28c06a7719b7a1f908aa4d7d20954d990a82f (patch)
tree31c39b0175a31d1afb590c35efab153b81b57289 /src/game/SpellAuras.cpp
parent43d8b1b7b9ec5661ac6b6648173eb8538988e296 (diff)
* Better solution to No Fly zones by Spp, closes #4
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 587dae3ed4c..e60717ac999 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -3350,7 +3350,7 @@ void AuraEffect::HandleAuraFeatherFall(bool apply, bool Real, bool /*changeAmoun
float ground_Z = caster->GetMap()->GetVmapHeight(x, y, z, true);
if (fabs(ground_Z - z) < 0.1f)
{
- m_target->RemoveAurasByType(SPELL_AURA_FEATHER_FALL);
+ m_target->RemoveAura(GetId());
return;
}
}