diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 89d19956597..caea0fa2874 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3329,14 +3329,17 @@ void AuraEffect::HandleAuraWaterWalk(bool apply, bool Real, bool /*changeAmount* void AuraEffect::HandleAuraFeatherFall(bool apply, bool Real, bool /*changeAmount*/) { // only at real add/remove aura - if(!Real) + if (!Real) + return; + + if (!m_target) return; WorldPacket data; - if(apply) + if (apply) { Unit* caster = GetCaster(); - if (!caster || !m_target) + if (!caster) return; if (caster->GetGUID() == m_target->GetGUID()) |